forked from ondfisk/BDSA2021
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.debug.yml
More file actions
52 lines (48 loc) · 1.22 KB
/
docker-compose.debug.yml
File metadata and controls
52 lines (48 loc) · 1.22 KB
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
version: '3.9'
services:
db:
image: mcr.microsoft.com/mssql/server:2019-latest
environment:
ACCEPT_EULA: 'Y'
MSSQL_SA_PASSWORD_FILE: /run/secrets/db_password
ports:
- 1433:1433
secrets:
- db_password
storage:
image: mcr.microsoft.com/azure-storage/azurite
ports:
- 10000:10000
- 10001:10001
- 10002:10002
volumes:
- './.local/temp:/data/'
server:
image: server
build:
context: .
dockerfile: ./Dockerfile
environment:
ConnectionStrings__Comics:
BlobContainerUri: https://storage:10000/devstoreaccount1/images
ASPNETCORE_ENVIRONMENT: Development
ASPNETCORE_URLS: https://+;http://+
ASPNETCORE_Kestrel__Certificates__Default__Path: /https/aspnetapp.pfx
ASPNETCORE_Kestrel__Certificates__Default__Password: localhost
ports:
- 5077:80
- 7207:443
depends_on:
- db
- storage
secrets:
- source: connection_string
target: ConnectionStrings__Comics
volumes:
- '../../../../.aspnet/https:/https/'
- ~/.vsdbg:/remote_debugger:rw
secrets:
db_password:
file: ./.local/db_password.txt
connection_string:
file: ./.local/connection_string.txt