Timothy Schenk
2a1dec45d8
All checks were successful
Test if Server can be built / build-server (push) Successful in 24s
30 lines
607 B
YAML
30 lines
607 B
YAML
services:
|
|
server:
|
|
image: continuity-server:latest
|
|
environment:
|
|
- ENVIRONMENT=Development
|
|
- Testing:CreateAccountOnLogin=true
|
|
- DB:Host=db
|
|
- DB:Port=5432
|
|
- DB:Username=continuity
|
|
- DB:Password=continuity
|
|
networks:
|
|
- continuity
|
|
ports:
|
|
- "10001:10001"
|
|
|
|
db:
|
|
image: postgres:16.0-alpine
|
|
environment:
|
|
- POSTGRES_USER=continuity
|
|
- POSTGRES_DB=continuity
|
|
- POSTGRES_PASSWORD=continuity
|
|
networks:
|
|
- continuity
|
|
volumes:
|
|
- db-data:/var/lib/postgresql/data
|
|
|
|
networks:
|
|
continuity:
|
|
volumes:
|
|
db-data:
|