-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.yml
45 lines (42 loc) · 1.03 KB
/
docker-compose.yml
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
version: "3"
services:
frontend-dev:
build:
context: ./frontend
dockerfile: ./dockerfiles/Dockerfile.dev
args:
VOLTO_VERSION: ${VOLTO_VERSION:-16}
environment:
RAZZLE_INTERNAL_API_PATH: http://backend-dev:8080/Plone
RAZZLE_API_PATH: http://localhost:8080/Plone
RAZZLE_JEST_CONFIG: "jest-addon.config.js"
volumes:
- ${PROJECT_DIR}/frontend/src/addons:/app/src/addons
- ${PROJECT_DIR}/frontend/jest-addon.config.js:/app/jest-addon.config.js
ports:
- 3000:3000
- 3001:3001
tty: true
stdin_open: true
profiles:
- "dev"
backend-dev:
build:
context: ./backend
dockerfile: ./dockerfiles/Dockerfile.dev
args:
PLONE_VERSION: ${PLONE_VERSION:-6}
environment:
SITE: Plone
CORS_ALLOW_ORIGIN: '*'
zope_i18n_compile_mo_files: false
stop_signal: SIGINT
ports:
- 8080:8080
volumes:
- ${PROJECT_DIR}/backend/src:/app/src
- data:/data
profiles:
- "dev"
volumes:
data: {}