-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
80 lines (80 loc) · 1.69 KB
/
docker-compose.yml
File metadata and controls
80 lines (80 loc) · 1.69 KB
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
75
76
77
78
79
80
version: '3.5'
services:
postgres:
image: gpao/database:0.17.0
container_name: database
hostname: database
restart: always
environment:
POSTGRES_PASSWORD: postgres
ports:
- 5432:5432
volumes:
- postgres-data:/var/lib/postgresql/data
networks:
- gpao-network
api-gpao:
image: gpao/api-gpao:1.32.0
container_name: api-gpao
hostname: api-gpao
restart: always
environment:
- GPAO_API_URL=${GPAO_API_URL}
- GPAO_API_PROTOCOL=${GPAO_API_PROTOCOL}
- GPAO_API_PORT=${GPAO_API_PORT}
env_file:
- context/api.env
depends_on:
- postgres
ports:
- 8080:8080
networks:
- gpao-network
logging:
driver: "json-file"
options:
max-size: "256m"
monitor-gpao:
image: gpao/monitor-gpao:1.47.0
container_name: monitor-gpao
hostname: monitor-gpao
restart: always
environment:
- GPAO_MONITOR_BASE_URL=${GPAO_MONITOR_BASE_URL}
env_file:
- context/monitor.env
depends_on:
- api-gpao
ports:
- 8000:8000
networks:
- gpao-network
logging:
driver: "json-file"
options:
max-size: "256m"
client-gpao:
image: gpao/client-gpao:0.18.0
container_name: client-gpao
hostname: client-gpao
restart: always
environment:
- GPAO_API_URL=api-gpao
entrypoint: ["python", "-m", "client.client"]
depends_on:
- api-gpao
networks:
- gpao-network
logging:
driver: "json-file"
options:
max-size: "256m"
volumes:
postgres-data:
networks:
gpao-network:
name: gpao-network
driver: bridge
ipam:
config:
- subnet: 172.100.0.0/16