adding validated services? patching forcad_local.py
This commit is contained in:
29
OmCTF-2025/services/block_game/docker-compose.yml
Normal file
29
OmCTF-2025/services/block_game/docker-compose.yml
Normal file
@@ -0,0 +1,29 @@
|
||||
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:
|
||||
Reference in New Issue
Block a user