-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
50 lines (46 loc) · 1016 Bytes
/
docker-compose.yml
File metadata and controls
50 lines (46 loc) · 1016 Bytes
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
version: "3"
services:
backend:
container_name: athena_backend
build: .
restart: on-failure
depends_on:
- db
environment:
FLASK_DEBUG: ${FLASK_DEBUG}
ports:
- "8000:5000"
volumes:
- .:/src
db:
container_name: athena_db
image: postgres:latest
restart: always
ports:
- "5428:5432"
environment:
POSTGRES_USER: ${POSTGRES_USER}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
POSTGRES_DB: athena_db
volumes:
- postgres_data:/var/datadb/
pgadmin-compose:
container_name: pgadmin
image: dpage/pgadmin4:latest
environment:
PGADMIN_DEFAULT_EMAIL: ${PGADMIN_DEFAULT_EMAIL}
PGADMIN_DEFAULT_PASSWORD: ${PGADMIN_DEFAULT_PASSWORD}
ports:
- "16543:80"
depends_on:
- db
web:
container_name: athena_web
image: nginx:latest
ports:
- "80:80"
volumes:
- ./frontend/build/web:/usr/share/nginx/html
volumes:
postgres_data:
driver: local