-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
64 lines (59 loc) · 1.16 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
64
services:
web:
build: ./frontend
container_name: web-dev
restart: unless-stopped
ports:
- "3000:3000"
env_file: ./frontend/.env
networks:
- app
api:
build:
context: .
dockerfile: ./Api/Dockerfile
container_name: api-dev
restart: unless-stopped
depends_on:
- postgres
environment:
ASPNETCORE_ENVIRONMENT: Development
Frontend:BaseUrl: https://web:3000
ports:
- "5000:5000"
- "5001:5001"
networks:
- app
- backend
postgres:
image: postgres
container_name: postgres-dev
restart: unless-stopped
ports:
- "5432:5432"
environment:
POSTGRES_USER: guben
POSTGRES_PASSWORD: VeryStrongPassword123
volumes:
- guben_cockpit:/var/lib/postgresql/data
networks:
- backend
adminer:
image: adminer
container_name: adminer-dev
restart: unless-stopped
ports:
- "8080:8080"
environment:
POSTGRES_PASSWORD: VeryStrongPassword123
depends_on:
- postgres
networks:
- backend
networks:
backend:
driver: bridge
app:
driver: bridge
volumes:
guben_cockpit: