-
Notifications
You must be signed in to change notification settings - Fork 0
/
plone-compose.yml
40 lines (37 loc) · 917 Bytes
/
plone-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
version: "3"
services:
instance:
image: library/plone:latest
hostname: plone
networks:
- traefik-net
- zeo-net
environment:
- ZEO_ADDRESS=zeo:8100
deploy:
replicas: 2
labels:
traefik.docker.network: traefik-net
traefik.port: 8080
traefik.frontend.rule: Host:plone.traefik;AddPrefix:/VirtualHostBase/https/plone.traefik:443/Plone/VirtualHostRoot
#traefik.frontend.rule: Host:plone.traefik;AddPrefix:/VirtualHostBase/http/plone.traefik:80/Plone/VirtualHostRoot
traefik.backend.loadbalancer.method: drr
zeo:
hostname: zeo
image: library/plone:latest
command: zeoserver
volumes:
- zeo-data:/data
networks:
- zeo-net
deploy:
mode: global
volumes:
zeo-data:
networks:
traefik-net:
external:
name: traefik-net
zeo-net:
external:
name: zeo-net