-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
42 lines (39 loc) · 886 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
42 lines (39 loc) · 886 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
38
39
40
41
42
services:
web-api:
image: ${DOCKER_REGISTRY-}webapi
container_name: web-api
build:
context: .
dockerfile: src/Web.Api/Dockerfile
ports:
- 5000:8080
- 5001:8081
environment:
- ASPNETCORE_HTTP_PORTS=8080
- ASPNETCORE_ENVIRONMENT=Development
postgres:
image: postgres:17
container_name: postgres
environment:
- POSTGRES_DB=clean-architecture
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
volumes:
- ./.containers/db:/var/lib/postgresql/data
ports:
- 5432:5432
redis:
image: redis:7-alpine
container_name: redis
ports:
- 6379:6379
volumes:
- ./.containers/redis:/data
command: redis-server --appendonly yes
seq:
image: datalust/seq:2024.3
container_name: seq
environment:
- ACCEPT_EULA=Y
ports:
- 8081:80