generated from eea/volto-frontend-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
35 lines (32 loc) · 931 Bytes
/
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
version: '3'
services:
# frontend:
# image: eeacms/marine-frontend
# ports:
# - "${FRONTEND:-4000}:4000"
# depends_on:
# - backend
# environment:
# PORT: "${FRONTEND:-4000}"
# API_PATH: "http://localhost:${BACKEND:-8080}/Plone"
# INTERNAL_API_PATH: "http://backend:${BACKEND:-8080}/Plone"
# RAZZLE_API_PATH: "http://localhost:${BACKEND:-8080}/Plone"
# RAZZLE_INTERNAL_API_PATH: "http://backend:${BACKEND:-8080}/Plone"
backend:
image: eeacms/marine-backend
ports:
- '${BACKEND_PORT:-8080}:8080'
environment:
CORS_ALLOW_ORIGIN: 'http://localhost:${FRONTEND_PORT:-3000}'
depends_on:
- memcached
volumes:
- ./data:/data
- ./backend/site.cfg:/plone/instance/site.cfg
- ./backend/src:/plone/instance/src
entrypoint: sh -c "tail -f /dev/null"
memcached:
image: memcached
command:
- '-m'
- '512'