-
Notifications
You must be signed in to change notification settings - Fork 4
/
docker-compose.yml
63 lines (57 loc) · 1.24 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
version : "3"
# only for deployment
services :
web_app_backend:
container_name: ada_web_app_backend_container
build:
context: './ada-core'
ports:
- "18080:8080"
networks:
- ada-db-network
restart: unless-stopped
web_app_frontend:
container_name: ada_web_app_frontend_container
build:
context: './ada-ui'
ports:
- "80:80"
networks:
- ada-db-network
restart: unless-stopped
# only for development
db_dev:
container_name: postgres_dev_container
image: postgres
environment:
POSTGRES_USER: "ada-team"
POSTGRES_PASSWORD: 1234
POSTGRES_DB: "ada"
PGDATA: /data/postgres
ports:
- "15432:5432"
volumes:
- pgvol_dev:/data/postgresql
networks:
- ada-db-network
restart: unless-stopped
pgadmin :
container_name: pgadmin_container
image : dpage/pgadmin4
environment :
PGADMIN_DEFAULT_EMAIL : "[email protected]"
PGADMIN_DEFAULT_PASSWORD : "ada-team"
volumes:
- pgadminvol:/root/.pgadmin
ports :
- "15050:80"
networks :
- ada-db-network
restart: unless-stopped
networks :
ada-db-network :
driver : bridge
volumes:
pgvol_dev:
pgvol_test:
pgadminvol: