Files
frontend-judge/docker-compose.yml
T
2026-07-03 07:55:10 +03:00

22 lines
678 B
YAML

services:
frontend-judge:
build: .
ports:
- "4000:4000"
environment:
NODE_ENV: production
PORT: 4000
DATABASE_URL: file:/app/backend/data/app.db
ADMIN_PASSWORD: ${ADMIN_PASSWORD:-change-admin-password}
STUDENT_PASSWORD: ${STUDENT_PASSWORD:-change-student-password}
SESSION_SECRET: ${SESSION_SECRET:-change-this-long-random-secret}
PUBLIC_URL: ${PUBLIC_URL:-http://localhost:4000}
JUDGE_VIEWPORT_WIDTH: ${JUDGE_VIEWPORT_WIDTH:-800}
JUDGE_VIEWPORT_HEIGHT: ${JUDGE_VIEWPORT_HEIGHT:-600}
volumes:
- frontend_judge_data:/app/backend/data
restart: unless-stopped
volumes:
frontend_judge_data: