Server/compose.yml
Snoweuph bd590f4149
Some checks failed
Quality Check / Validate OAS (push) Successful in 39s
Build Application / build (push) Successful in 1m8s
Build Application / build-docker (push) Failing after 12s
Build Application / release (push) Has been skipped
Quality Check / Linting (push) Successful in 1m5s
Quality Check / Static Analysis (push) Successful in 57s
Quality Check / Testing (push) Successful in 43s
chore: setup
2025-02-01 14:32:38 +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