-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.debug.yml
77 lines (71 loc) · 1.67 KB
/
docker-compose.debug.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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
version: '3.7'
services:
kairos-db:
image: postgres:latest
container_name: kairos-db
restart: always
ports:
- "5432:5432"
expose:
- 5432
environment:
- POSTGRES_DB=kairos
- POSTGRES_USER=kairos_user
- POSTGRES_PASSWORD=kairos_password
volumes:
- pgdata:/var/lib/postgresql/data
- pgconf:/etc/postgresql
- pglog:/var/log/postgresql
- ./kairos-db/sql:/docker-entrypoint-initdb.d/
karios-pgadmin:
image: dpage/pgadmin4
container_name: kairos-pgadmin4
restart: always
depends_on:
- kairos-db
ports:
- "5050:80"
environment:
PGADMIN_DEFAULT_EMAIL: [email protected]
PGADMIN_DEFAULT_PASSWORD: kairos
volumes:
- pgadmin-data:/var/lib/pgadmin
- ./kairos-db/servers.json:/pgadmin4/servers.json
- ./kairos-db/pgpass:/pgpass
kairos-api:
image: kairos-api:dev
container_name: kairos-api
depends_on:
- kairos-db
build:
context: kairos-api
dockerfile: ./Dockerfile
ports:
- 5000:5000
environment:
- DOTNET_WATCH_RESTART_ON_RUDE_EDIT=1
- DOTNET_WATCH_SUPPRESS_EMOJIS=1
- ASPNETCORE_ENVIRONMENT=Development
volumes:
- ./kairos-api:/app
command: dotnet watch run --project Kairos.API
kairos-web:
image: kairos-web:dev
container_name: kairos-web
restart: unless-stopped
build:
context: kairos-web
dockerfile: ./Dockerfile
environment:
NODE_ENV: development
volumes:
- ./kairos-web:/usr/src/app
- /usr/src/app/node_modules
ports:
- 4200:4200
- 49153:49153
volumes:
pgdata:
pgconf:
pglog:
pgadmin-data: