-
Notifications
You must be signed in to change notification settings - Fork 4
/
docker-compose.yml
64 lines (59 loc) · 2.02 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
version: "3"
services:
frontend:
container_name: frontend
image: frontend:dev
build:
context: .
dockerfile: frontend.dockerfile
args:
- BUILD_ENV=dev
environment:
- ORLEANS_CONFIG=SQL
- ASPNETCORE_ENVIRONMENT=Development
- ASPNETCORE_URLS=http://*:5000
- DOTNET_USE_POLLING_FILE_WATCHER=1
- AzureWebJobsStorage=DefaultEndpointsProtocol=http;AccountName=devstoreaccount1;AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;BlobEndpoint=http://azurite:10000/devstoreaccount1;QueueEndpoint=http://azurite:10001/devstoreaccount1;TableEndpoint=http://azurite:10002/devstoreaccount1;
- SqlConnectionString=server=mssql; database=orleans; user id=sa; password=p@ssw0rd;
- Logging__LogLevel__Default=Debug
depends_on:
- backend
- azurite
- mssql
ports:
- 5000:5000
volumes:
- ~/.vsdbg:/remote_debugger:rw
backend:
container_name: backend
image: backend:dev
build:
context: .
dockerfile: backend.dockerfile
environment:
- ORLEANS_CONFIG=SQL
- StorageConnectionString=DefaultEndpointsProtocol=http;AccountName=devstoreaccount1;AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;BlobEndpoint=http://azurite:10000/devstoreaccount1;QueueEndpoint=http://azurite:10001/devstoreaccount1;TableEndpoint=http://azurite:10002/devstoreaccount1;
- SqlConnectionString=server=mssql; database=orleans; user id=sa; password=p@ssw0rd;
- Logging__LogLevel__Default=Debug
depends_on:
- azurite
- mssql
ports:
- 11111:11111
- 30000:30000
volumes:
- ~/.vsdbg:/remote_debugger:rw
azurite:
container_name: azurite
image: mcr.microsoft.com/azure-storage/azurite
ports:
- 10000:10000
- 10001:10001
mssql:
container_name: mssql
image: orleansdb:dev
build:
context: .
dockerfile: sql.dockerfile
ports:
- 1433:1433