-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
40 lines (37 loc) · 886 Bytes
/
docker-compose.yml
File metadata and controls
40 lines (37 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
version: "3.4"
services:
quizer.api:
image: ${DOCKER_REGISTRY-}quizerapi
container_name: quizer.api
build:
context: .
dockerfile: ./Dockerfile
environment:
- ASPNETCORE_ENVIRONMENT=Development
- ASPNETCORE_HTTP_PORTS=5000
- ASPNETCORE_HTTPS_PORTS=5001
ports:
- 5000:5000
- 5001:5001
quizer.database:
image: postgres:16.1-alpine3.19
container_name: quizer.database
environment:
- POSTGRES_DB=quizer
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
volumes:
- ./.containers/quizer-db:/var/lib/postgresql/data
ports:
- 5432:5432
quizer.logs:
image: datalust/seq
container_name: quizer.logs
environment:
- ACCEPT_EULA=Y
volumes:
- ./.containers/quizer-logs:/data
ports:
- 8080:80
- 5341:5341
restart: unless-stopped