-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
41 lines (36 loc) · 770 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
41 lines (36 loc) · 770 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
version: '3.8'
services:
db:
image: postgres:latest
networks:
- exchanger-network
exchangeradmin:
environment:
- ASPNETCORE_ENVIRONMENT=Production
- ASPNETCORE_HTTP_PORTS=8080
ports:
- "5000:8080"
volumes:
- ${APPDATA}/Microsoft/UserSecrets:/home/app/.microsoft/usersecrets:ro
build:
context: .
dockerfile: Exchanger.Web/Dockerfile
depends_on:
- db
networks:
- exchanger-network
nginx:
image: nginx:latest
ports:
- "8080:6000"
volumes:
- ./nginx.conf:/etc/nginx/conf.d/default.conf
depends_on:
- exchangeradmin
networks:
- exchanger-network
networks:
exchanger-network:
driver: bridge
volumes:
postgres_exchanger_db: