2023-11-16 18:48:29 +01:00
|
|
|
services:
|
2023-10-09 15:29:53 +02:00
|
|
|
server:
|
2024-02-07 09:22:04 +01:00
|
|
|
container_name: continuity-auth
|
|
|
|
image: continuity-auth:latest
|
2023-11-12 15:27:59 +01:00
|
|
|
restart: always
|
2023-10-27 19:47:17 +02:00
|
|
|
depends_on:
|
2024-09-16 21:11:40 +02:00
|
|
|
- db
|
2023-10-09 15:29:53 +02:00
|
|
|
environment:
|
2024-09-16 21:11:40 +02:00
|
|
|
- ENVIRONMENT=Development
|
|
|
|
- Testing:CreateAccountOnLogin=true
|
|
|
|
- DB:Host=db
|
|
|
|
- DB:Port=5432
|
|
|
|
- DB:Username=continuity
|
|
|
|
- DB:Password=continuity
|
|
|
|
- Game:Data:Path=/app/data/
|
|
|
|
- Tracing:Enabled=true
|
|
|
|
- OTEL_EXPORTER_OTLP_ENDPOINT=http://aspire:18889
|
|
|
|
- Logging:LogLevel:Default=Debug
|
2024-09-16 21:19:09 +02:00
|
|
|
- OTEL_SERVICE_NAME=continuity-auth
|
2023-10-09 15:29:53 +02:00
|
|
|
networks:
|
2024-09-16 21:11:40 +02:00
|
|
|
- continuity
|
2023-10-09 15:29:53 +02:00
|
|
|
ports:
|
2024-09-16 21:11:40 +02:00
|
|
|
- 10001:10001
|
2023-11-08 19:49:23 +01:00
|
|
|
volumes:
|
2024-09-16 21:11:40 +02:00
|
|
|
- type: bind
|
|
|
|
source: wk-data
|
|
|
|
target: /app/data
|
|
|
|
read_only: true
|
|
|
|
- type: bind
|
|
|
|
source: config
|
|
|
|
target: /app/config
|
|
|
|
read_only: true
|
2024-02-05 18:12:12 +01:00
|
|
|
mem_limit: 1024m
|
2023-10-09 15:29:53 +02:00
|
|
|
|
|
|
|
db:
|
2023-10-27 19:47:17 +02:00
|
|
|
container_name: continuity-db
|
2024-09-16 21:36:50 +02:00
|
|
|
image: postgres:16.4-alpine
|
2023-11-12 15:27:59 +01:00
|
|
|
restart: always
|
2023-10-09 15:29:53 +02:00
|
|
|
environment:
|
2024-09-16 21:11:40 +02:00
|
|
|
- POSTGRES_USER=continuity
|
|
|
|
- POSTGRES_DB=continuity
|
|
|
|
- POSTGRES_PASSWORD=continuity
|
2023-10-09 15:29:53 +02:00
|
|
|
networks:
|
2024-09-16 21:11:40 +02:00
|
|
|
- continuity
|
2023-10-09 15:29:53 +02:00
|
|
|
volumes:
|
2024-09-16 21:11:40 +02:00
|
|
|
- db-data:/var/lib/postgresql/data
|
2023-10-27 19:47:17 +02:00
|
|
|
healthcheck:
|
2024-09-16 21:11:40 +02:00
|
|
|
test: [CMD-SHELL, 'pg_isready -U ${POSTGRES_USER} -d ${POSTGRES_DB}']
|
2023-10-27 19:47:17 +02:00
|
|
|
interval: 10s
|
|
|
|
timeout: 3s
|
|
|
|
retries: 3
|
2024-02-05 18:12:12 +01:00
|
|
|
mem_limit: 1024m
|
2023-10-09 15:29:53 +02:00
|
|
|
|
2024-09-16 21:10:52 +02:00
|
|
|
aspire:
|
2024-09-16 21:36:50 +02:00
|
|
|
image: mcr.microsoft.com/dotnet/aspire-dashboard:8.1
|
2023-11-20 14:23:04 +01:00
|
|
|
networks:
|
2024-09-16 21:11:40 +02:00
|
|
|
- continuity
|
2023-11-20 14:23:04 +01:00
|
|
|
environment:
|
2024-09-16 21:11:40 +02:00
|
|
|
- DOTNET_DASHBOARD_UNSECURED_ALLOW_ANONYMOUS=true
|
|
|
|
- Dashboard:Frontend:AuthMode=Unsecured
|
2024-09-16 21:36:50 +02:00
|
|
|
- ASPIRE_ALLOW_UNSECURED_TRANSPORT=true
|
2023-11-20 19:53:40 +01:00
|
|
|
ports:
|
2024-09-16 21:11:40 +02:00
|
|
|
- 18888:18888
|
2023-11-20 19:53:40 +01:00
|
|
|
|
2023-10-09 15:29:53 +02:00
|
|
|
networks:
|
|
|
|
continuity:
|
2023-11-12 15:27:59 +01:00
|
|
|
|
2023-10-09 15:29:53 +02:00
|
|
|
volumes:
|
|
|
|
db-data:
|
2023-11-28 15:32:41 +01:00
|
|
|
server-logs:
|