-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.production.yaml
More file actions
62 lines (56 loc) · 1.28 KB
/
Copy pathcompose.production.yaml
File metadata and controls
62 lines (56 loc) · 1.28 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
53
54
55
56
57
58
59
60
61
62
services:
cleanarchitectureapi.api:
image: cleanarchitectureapi.api
container_name: api
build:
context: .
dockerfile: src/CleanArchitectureApi.Api/Dockerfile
environment:
- ASPNETCORE_ENVIRONMENT=Development
- DOTNET_ENVIRONMENT=${DOTNET_ENVIRONMENT}
- JWT__SECRET=${JWT_SECRET}
- JWT__ISSUER=${JWT_ISSUER}
- JWT__AUDIENCE=${JWT_AUDIENCE}
- DB_CONNECTION=${DB_CONNECTION}
ports:
- "5000:8080"
- "5001:8081"
depends_on:
- cleanarchitectureapi.db
networks:
- default
cleanarchitectureapi.db:
image: mcr.microsoft.com/mssql/server:2022-latest
container_name: db
environment:
- ACCEPT_EULA=Y
- MSSQL_SA_PASSWORD=${MSSQL_PASSWORD}
ports:
- "1433:1433"
volumes:
- mssql-data:/var/opt/mssql
networks:
- default
cleanarchitectureapi.seriLog:
image: datalust/seq:latest
container_name: seriLog
environment:
- ACCEPT_EULA=Y
ports:
- "5341:5341"
- "9000:80"
networks:
- default
cleanarchitectureapi.redis:
image: redis:latest
container_name: redis
restart: always
ports:
- "6379:6379"
networks:
- default
volumes:
mssql-data:
networks:
default:
driver: bridge