-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
74 lines (66 loc) · 1.17 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
version: "3.7"
networks:
host:
driver: bridge
backend:
internal: true
name: "backend"
ipam:
config:
- subnet: 10.0.0.0/8
volumes:
postgres-drive:
name: "postgres-drive"
services:
zeo:
build: zeodbsync
restart: always
ports:
- 9999
volumes:
- type: bind
source: ./mounts
target: /vol
networks:
- backend
postgres:
image: postgres:latest
restart: always
environment:
- LANG=en_US.utf8
- POSTGRES_USER=dockerzope
- POSTGRES_PASSWORD=12345
- POSTGRES_DB=dockerzope
- POSTGRES_HOST_AUTH_METHOD=trust
- PGDATA=/vol/data
ports:
- 5432
volumes:
- postgres-drive:/vol
networks:
- backend
zope:
build: zope
restart: always
networks:
- backend
volumes:
- type: bind
source: ./mounts
target: /vol
haproxy:
build: haproxy
restart: always
ports:
- "0.0.0.0:80:80/tcp"
networks:
- backend
- host
ws_broadcast:
build: ws_broadcast
restart: always
ports:
- "0.0.0.0:4242:4242/tcp"
networks:
- backend
- host