-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
48 lines (43 loc) · 1.06 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
version: '3.7'
networks:
adesnet:
driver: bridge
services:
webapi:
image: ${DOCKER_REGISTRY-}webapi
depends_on:
- "adessibinden_db"
container_name: adessibindenAPI
ports:
- 5000:5000
- 5001:5001
build:
context: .
dockerfile: src/WebAPI/Dockerfile
networks:
- adesnet
adessibinden_db:
image: postgres
container_name: 'postgres'
environment:
- POSTGRES_USER=<YOUR USERNAME>
- POSTGRES_PASSWORD=<YOUR PASSWORD>
- POSTGRES_DB=adessibindenDbDocker
restart: always
ports:
- 5432:5432
volumes:
- adessibinden_data:/var/lib/postgresql/data/
networks:
- adesnet
adessibinden_frontend:
build: ../adessibinden-blazor
container_name: 'adessibinden_frontend'
ports:
- 8080:8080
depends_on:
- "webapi"
networks:
- adesnet
volumes:
adessibinden_data: