-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathdocker-compose.dev.yaml
44 lines (43 loc) · 1.2 KB
/
docker-compose.dev.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
services:
dev-strapi:
image: edmcouncil/dev-strapi:${BRANCH_NAME:-develop}
build:
context: ./general/strapi
args:
- ONTPUB_FAMILY=dev
- BRANCH_NAME=${BRANCH_NAME:-develop}
volumes:
# If you want to overwrite the default data when starting a STRAPI instance, create an export file "<SOME_PATH>/export.tar.gz":
# npm run strapi export -- --file <SOME_PATH>/export --no-encrypt
# and place it in the location "./general/strapi/db/export.tar.gz"
- ./general/strapi/db:/strapi
- spec_root:/opt/html-pages
dev-pages:
image: edmcouncil/dev-pages:${BRANCH_NAME:-develop}
build:
context: ./general
args:
- ONTPUB_FAMILY=dev
- BRANCH_NAME=${BRANCH_NAME:-develop}
environment:
- STRAPI_URL=http://dev-strapi:1337
volumes:
- spec_root:/opt/html-pages
depends_on:
- dev-strapi
spec:
image: edmcouncil/spec:${BRANCH_NAME:-develop}
build:
context: ./home
args:
- BRANCH_NAME=${BRANCH_NAME:-develop}
environment:
- FAMILY_REGEX=dev
volumes:
- spec_root:/opt/html-pages
depends_on:
- dev-pages
ports:
- 8080:80
volumes:
spec_root: