-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
53 lines (47 loc) · 1.46 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
46
47
48
49
50
51
52
53
version: "2.1"
services:
plone:
image: "${BACKEND_IMAGE:?no such variable}"
labels:
io.rancher.scheduler.affinity:host_label_ne: reserved=yes
depends_on:
- zeo
- memcached
ports:
- "${BACKEND_PORT:-8085}:8080"
environment:
TZ: "Europe/Copenhagen"
ZEO_ADDRESS: "zeo:8080"
ZOPE_MODE: "zeo_client"
entrypoint: sh -c "tail -f /dev/null"
frontend:
image: "${FRONTEND_IMAGE:?no such variable}"
environment:
RAZZLE_API_PATH: "http://localhost:${BACKEND_PORT}/${SITE_NAME:-Plone}"
RAZZLE_INTERNAL_API_PATH: "http://plone:8080/${SITE_NAME:-Plone}"
PORT: "${FRONTEND_PORT:-3000}"
ports:
- "${FRONTEND_PORT:-3000}:${FRONTEND_PORT:-3000}"
- "${FRONTEND_PORT_NEXT:-3001}:${FRONTEND_PORT_NEXT:-3001}"
- "${FRONTEND_ANALYZE_PORT:-8888}:${FRONTEND_ANALYZE_PORT:-8888}"
entrypoint: sh -c "tail -f /dev/null"
zeo:
image: plone:5.2-python2
labels:
io.rancher.scheduler.affinity:host_label_ne: reserved=yes
environment:
TZ: "Europe/Copenhagen"
ZOPE_MODE: "zeo"
command:
- zeo
memcached:
image: memcached:1.4.35
labels:
io.rancher.scheduler.affinity:host_label_ne: reserved=yes
environment:
TZ: "Europe/Copenhagen"
command:
- "-m"
- "2048"
# backend demo-forests-p5-plone
# http-request set-path /VirtualHostBase/https/demo-forests-p5.eea.europa.eu:443/fise/VirtualHostRoot/_vh_api/%[path,regsub(\/api,,g)]