Server/compose.yml
Snoweuph d2ef6fadef
Some checks failed
Quality Check / Validate OAS (push) Successful in 37s
Build Application / build (push) Successful in 1m5s
Build Application / build-docker (push) Failing after 9s
Build Application / release (push) Has been skipped
Quality Check / Linting (push) Successful in 56s
Quality Check / Testing (push) Successful in 44s
Quality Check / Static Analysis (push) Successful in 1m8s
chore: setup
2025-02-01 14:50:47 +01:00

26 lines
No EOL
580 B
YAML

services:
postgres:
container_name: tower_defence_postgres
image: postgres:16
environment:
- POSTGRES_DB=td
- POSTGRES_USER=td_user
- POSTGRES_PASSWORD=td123
ports:
- "5432:5432"
volumes:
- "tower_defence_data:/var/lib/postgresql/data"
swagger:
container_name: tower_defence_swagger
image: swaggerapi/swagger-ui:latest
environment:
SWAGGER_JSON: "/data/api.yml"
ports:
- "8090:8080"
volumes:
- "./api/api.yml:/data/api.yml:Z"
volumes:
tower_defence_data:
name: tower_defence_data