-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.prod.yml
More file actions
67 lines (61 loc) · 1.19 KB
/
docker-compose.prod.yml
File metadata and controls
67 lines (61 loc) · 1.19 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
version: '3.9'
services:
database:
build: ./database
environment:
- POSTGRES_DB
- POSTGRES_USER
- POSTGRES_PASSWORD
ports:
- '5432:5432'
volumes:
- postgres_data:/var/lib/postgresql/data
restart: always
networks:
- indico_prod
indico:
build:
context: ./api
dockerfile: Dockerfile
depends_on:
- database
links:
- database
ports:
- "5000:5000"
environment:
- DATABASE=postgres
- ENV
- DB_HOST=postgres://${POSTGRES_USER}:${POSTGRES_PASSWORD}@database:5432/${POSTGRES_DB}
- SECRET_KEY
- SQL_DB_PORT=5432
- ADMIN_USERNAME
- ADMIN_EMAIL
- ADMIN_PASSWORD
volumes:
- "./api/app:/opt/app"
restart: always
networks:
- indico_prod
dozzle:
image: amir20/dozzle:latest
environment:
- DOZZLE_FILTER=name=indico
ports:
- 5453:8080
volumes:
- /var/run/docker.sock:/var/run/docker.sock
restart: always
networks:
- indico_prod
# web:
# build: ./app/
# ports:
# - 80:8080
# restart: always
# networks:
# - indico_prod
volumes:
postgres_data:
networks:
indico_prod: