-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
57 lines (50 loc) · 1.04 KB
/
docker-compose.yaml
File metadata and controls
57 lines (50 loc) · 1.04 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
version: '3.5'
services:
postgres:
image: postgres:9.6.23-stretch
restart: always
ports:
- "2345:5432"
environment:
- POSTGRES_PASSWORD_FILE=/run/secrets/postgres_secret
volumes:
- postgres_volume:/var/lib/postgresql/data
secrets:
- postgres_secret
networks:
- manymanager_net
manymanager:
image: manymanager
build: .
restart: always
env_file:
- ./environment.env
# - ./apache.conf:/etc/apache2/sites-enabled/000-default.conf
depends_on:
- postgres
networks:
- manymanager_net
nginx:
image: nginx:1.21.0
restart: always
ports:
- "2048:2048"
volumes:
- ./dashboard/static:/manymanager/dashboard/static
- ./nginx.conf:/etc/nginx/nginx.conf
depends_on:
- manymanager
networks:
- manymanager_net
secrets:
postgres_secret:
file: postgres_pw.txt
networks:
manymanager_net:
driver: bridge
volumes:
postgres_volume:
manymanager_static:
configs:
nginx_conf:
file: nginx.conf