adding validated services? patching forcad_local.py
This commit is contained in:
41
OmCTF-2025/services/block_game/docker-compose.dev.yaml
Normal file
41
OmCTF-2025/services/block_game/docker-compose.dev.yaml
Normal file
@@ -0,0 +1,41 @@
|
||||
name: block-game
|
||||
|
||||
services:
|
||||
postgres:
|
||||
image: postgres
|
||||
environment:
|
||||
POSTGRES_USER: postgres
|
||||
POSTGRES_PASSWORD: postgres
|
||||
POSTGRES_DB: blockgame
|
||||
volumes:
|
||||
- postgres_data_dev:/var/lib/postgresql/data
|
||||
backend:
|
||||
build:
|
||||
context: backend
|
||||
dockerfile: Dockerfile.dev
|
||||
ports:
|
||||
- 8081:8080
|
||||
volumes:
|
||||
- ./backend:/app
|
||||
frontend:
|
||||
build:
|
||||
context: frontend
|
||||
dockerfile: Dockerfile.dev
|
||||
ports:
|
||||
- "8082:3000"
|
||||
environment:
|
||||
- CHOKIDAR_USEPOLLING=true
|
||||
- DANGEROUSLY_DISABLE_HOST_CHECK=true
|
||||
volumes:
|
||||
- ./frontend:/app
|
||||
- /app/node_modules
|
||||
- /app/build
|
||||
router:
|
||||
image: nginx:latest
|
||||
ports:
|
||||
- "8080:8080"
|
||||
volumes:
|
||||
- ./nginx.dev.conf:/etc/nginx/nginx.conf:ro
|
||||
|
||||
volumes:
|
||||
postgres_data_dev:
|
||||
Reference in New Issue
Block a user