-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.override.yml
54 lines (50 loc) · 1.82 KB
/
docker-compose.override.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
version: '3.4'
services:
urlshortener.frontend:
build:
context: .
dockerfile: src/UrlShortener.Frontend/Dockerfile.dev
environment:
- ASPNETCORE_ENVIRONMENT=Development
- ASPNETCORE_LOGGING__CONSOLE__DISABLECOLORS=true
- ASPNETCORE_URLS=https://+:443;http://+:80
- AzureTableCluster__ServiceUrl=https://table.internal.host:10002/devstoreaccount1
- UrlStoreGrain__ServiceUrl=https://table.internal.host:10002/devstoreaccount1
ports:
- "80"
- "443"
- "11111" # Silo port
- "11112" # Gateway port
volumes:
- ${APPDATA}/Microsoft/UserSecrets:/root/.microsoft/usersecrets:ro
- ${APPDATA}/ASP.NET/Https:/root/.aspnet/https:ro
depends_on:
- azurite
links:
- "azurite:table.internal.host"
urlshortener.backend.silohost:
build:
context: .
dockerfile: src/UrlShortener.Backend.SiloHost/Dockerfile.dev
environment:
- DOTNET_ENVIRONMENT=Development
- ACI__PORTS=8899,8900
- AzureTableCluster__ServiceUrl=https://table.internal.host:10002/devstoreaccount1
- UrlStoreGrain__ServiceUrl=https://table.internal.host:10002/devstoreaccount1
ports:
- "8899" # Silo port
- "8900" # Gateway port
volumes:
- ${APPDATA}/Microsoft/UserSecrets:/root/.microsoft/usersecrets:ro
depends_on:
- azurite
links:
- "azurite:table.internal.host"
azurite:
image: mcr.microsoft.com/azure-storage/azurite
scale: 1
restart: unless-stopped
command: "azurite --location /docker_azurite_data --blobHost 0.0.0.0 --queueHost 0.0.0.0 --tableHost 0.0.0.0 --oauth basic --cert /devCerts/table.internal.host.pem --key /devCerts/table.internal.host-key.pem --disableProductStyleUrl"
volumes:
- ./docker_azurite_data:/docker_azurite_data
- ./devCerts:/devCerts