Snoweuph
92f03cd349
All checks were successful
Build Application / build (push) Successful in 1m5s
Quality Check / Validate OAS (push) Successful in 39s
Build Application / build-docker (push) Successful in 33s
Build Application / release (push) Successful in 8s
Quality Check / Linting (push) Successful in 1m0s
Quality Check / Testing (push) Successful in 49s
Quality Check / Static Analysis (push) Successful in 1m0s
26 lines
No EOL
580 B
YAML
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 |