31 lines
607 B
YAML
31 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:
|