-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
33 lines (32 loc) · 880 Bytes
/
docker-compose.yml
File metadata and controls
33 lines (32 loc) · 880 Bytes
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
version: "3"
services:
backend:
image: eeacms/plone-backend
ports:
- "8080:8080"
environment:
SITE: "Plone"
PROFILES: "eea.kitkat:testing,eea.progress.editing:default"
ADDONS: "eea.progress.editing eea.progress.workflow"
frontend:
build:
context: ./
dockerfile: ./Dockerfile
args:
ADDON_NAME: "${ADDON_NAME}"
ADDON_PATH: "${ADDON_PATH}"
VOLTO_VERSION: ${VOLTO_VERSION:-18-yarn}
ports:
- "3000:3000"
- "3001:3001"
depends_on:
- backend
volumes:
- ./:/app/src/addons/${ADDON_PATH}
environment:
CI: "true"
NODE_ENV: "development"
RAZZLE_JEST_CONFIG: "src/addons/${ADDON_PATH}/jest-addon.config.js"
RAZZLE_INTERNAL_API_PATH: "http://backend:8080/Plone"
RAZZLE_DEV_PROXY_API_PATH: "http://backend:8080/Plone"
HOST: "0.0.0.0"