Files
validator/OmCTF-2025/services/block_game/docker-compose.yml

30 lines
597 B
YAML

name: block-game
services:
postgres:
image: postgres:17.6-alpine3.22
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: blockgame
volumes:
- postgres_data:/var/lib/postgresql/data
restart: unless-stopped
backend:
build:
context: backend
dockerfile: Dockerfile
restart: unless-stopped
frontend:
build:
context: frontend
dockerfile: Dockerfile
environment:
- DANGEROUSLY_DISABLE_HOST_CHECK=true
ports:
- 5874:8080
restart: unless-stopped
volumes:
postgres_data: