-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
47 lines (36 loc) · 893 Bytes
/
docker-compose.yml
File metadata and controls
47 lines (36 loc) · 893 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
version: '3.8'
services:
web:
image: autobookkeeper:1.0
container_name: auto_book_keeper_app
build:
context: .
dockerfile: src/AutoBookKeeper.Web/Dockerfile
environment:
- ASPNETCORE_ENVIRONMENT=Development
- ActiveConnection=DockerDatabase
ports:
- "8040:8080"
- "8041:8081"
depends_on:
- postgres
networks:
- auto_book_keeper_network
postgres:
image: postgres
container_name: auto_book_keeper_postgres
environment:
POSTGRES_USER: rootuser
POSTGRES_PASSWORD: DbPass20190502
ports:
- "8011:5432"
volumes:
- postgres_data:/var/lib/postgresql/data
- D:\Programming\Databases\Backups:/backups
networks:
- auto_book_keeper_network
networks:
auto_book_keeper_network:
driver: bridge
volumes:
postgres_data: