-
Notifications
You must be signed in to change notification settings - Fork 810
/
docker-compose.yaml
29 lines (29 loc) · 954 Bytes
/
docker-compose.yaml
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
# docker compose up --detach --build --force-recreate --remove-orphans
services:
web:
image: architecture/web
container_name: architecture_web
restart: always
build:
context: .
environment:
- SigningKey=58a97cd766d741e8a21b8d3c4279652469801dc8da844fa5bf80afeea85aa472
- ConnectionStrings__Context=Server=architecture_database;Database=Database;User Id=sa;Password=P4ssW0rd!;TrustServerCertificate=true;
- Serilog__WriteTo__1__Args__path=/app/logs/
depends_on:
- database
ports:
- 8090:8080
database:
image: mcr.microsoft.com/mssql/server
container_name: architecture_database
restart: always
environment:
- ACCEPT_EULA=Y
- SA_PASSWORD=P4ssW0rd!
ports:
- 1433:1433
volumes:
- database:/var/opt/mssql
volumes:
database: