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: