-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.yaml
More file actions
37 lines (34 loc) · 964 Bytes
/
compose.yaml
File metadata and controls
37 lines (34 loc) · 964 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
services:
api-dev:
build:
context: .
target: dev
dockerfile: src/Dockerfile
volumes:
- ./src:/app/src/
ports:
- 8080:8080
environment:
DOTNET_SYSTEM_GLOBALIZATION_INVARIANT: false
ConnectionStrings__DefaultConnection: "Server=database,1433;Database=AirsoftBattleManagementSystem;User Id=SA;Password=K0ciaki!;Encrypt=False;"
depends_on:
- database
api-prod:
build:
context: .
target: final
dockerfile: src/Dockerfile
ports:
- 8080:8080
environment:
DOTNET_SYSTEM_GLOBALIZATION_INVARIANT: false
ConnectionStrings__DefaultConnection: "Server=database,1433;Database=AirsoftBattleManagementSystem;User Id=SA;Password=K0ciaki!;Encrypt=False;"
depends_on:
- database
database:
image: mcr.microsoft.com/mssql/server:2022-latest
ports:
- 1433:1433
environment:
SA_PASSWORD: "K0ciaki!"
ACCEPT_EULA: "Y"