-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
69 lines (64 loc) · 1.44 KB
/
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
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
65
66
67
68
69
services:
minimalapi:
build:
context: .
dockerfile: ./MinimalApi/Dockerfile
container_name: minimalapi
ports:
- 8080:80
- 8081:443
environment:
- ASPNETCORE_ENVIRONMENT=Development
- ASPNETCORE_URLS=https://+:443;http://+:80
- ASPNETCORE_HTTPS_PORT=8081
- ASPNETCORE_Kestrel__Certificates__Default__Password=kestrel_password
- ASPNETCORE_Kestrel__Certificates__Default__Path=/https/OrderMinimalApi.pfx
- Database__ConnectionString=mongodb://mongodb:27017
- ConnectionStrings__RedisConnection=redis:6379
- Seq__ConnectionString=http://seq:5341
volumes:
- ~/.aspnet/https:/https:ro
networks:
- order_minimal_api
depends_on:
- mongodb
- redis
- seq
mongodb:
image: mongo:7.0.13-rc0
container_name: mongodb
restart: always
ports:
- 27017:27017
volumes:
- mongodb-data:/data/db
networks:
- order_minimal_api
redis:
image: redis:7.4.0
container_name: redis
ports:
- 6379:6379
volumes:
- redis-data:/data
networks:
- order_minimal_api
seq:
image: datalust/seq:2024.3
container_name: seq
ports:
- 5341:80
- 5342:5342
environment:
- ACCEPT_EULA=Y
volumes:
- seq-data:/data
networks:
- order_minimal_api
volumes:
mongodb-data:
redis-data:
seq-data:
networks:
order_minimal_api:
driver: bridge