-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose-dev.yml
More file actions
83 lines (77 loc) · 1.83 KB
/
docker-compose-dev.yml
File metadata and controls
83 lines (77 loc) · 1.83 KB
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
---
name: kitconcept-solr-acceptance
services:
tika-acceptance:
image: apache/tika:3.2.3.0-full
profiles: ["acceptance", "dev", "solr"]
ports:
- 9998:9998
solr-acceptance:
build:
context: ./solr
pull_policy: build
profiles: ["acceptance", "dev", "solr"]
depends_on:
- tika-acceptance
ports:
- 8983:8983
command:
- solr-precreate
- plone
- /plone-config
environment:
SOLR_MODULES: extraction
SOLR_OPTS: "-Dsolr.tika.url=http://tika-acceptance:9998"
frontend: &frontend
build:
context: ./frontend
args:
- VOLTO_VERSION=${VOLTO_VERSION}
pull_policy: build
platform: linux/amd64
profiles: ["dev"]
environment:
RAZZLE_API_PATH: http://localhost:8080/Plone
RAZZLE_INTERNAL_API_PATH: http://backend:8080/Plone
depends_on:
- backend
ports:
- 3000:3000
frontend-acceptance:
<<: *frontend
profiles: ["acceptance"]
environment:
RAZZLE_API_PATH: http://localhost:55001/plone
RAZZLE_INTERNAL_API_PATH: http://backend-acceptance:55001/plone
depends_on:
- backend-acceptance
backend: &backend
build:
context: ./backend
dockerfile: Dockerfile
args:
- PLONE_VERSION=${PLONE_VERSION}
pull_policy: build
platform: linux/amd64
profiles: ["dev"]
environment:
COLLECTIVE_SOLR_HOST: solr-acceptance
COLLECTIVE_SOLR_PORT: 8983
COLLECTIVE_SOLR_BASE: /solr/plone
depends_on:
- solr-acceptance
ports:
- 8080:8080
backend-acceptance:
<<: *backend
profiles: ["acceptance"]
build:
context: ./backend
dockerfile: Dockerfile.acceptance
args:
- PLONE_VERSION=${PLONE_VERSION}
pull_policy: build
depends_on:
- solr-acceptance
ports:
- 55001:55001