Server/compose.yml
Snoweuph fef2ac97cd
Some checks failed
Build Application / build-docker (push) Blocked by required conditions
Build Application / release (push) Blocked by required conditions
Build Application / build (push) Has been cancelled
Quality Check / Testing (push) Has been cancelled
Quality Check / Static Analysis (push) Has been cancelled
Quality Check / Linting (push) Has been cancelled
Quality Check / Validate OAS (push) Has been cancelled
chore: setup
2025-02-01 14:47:05 +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