Initial commit

This commit is contained in:
2026-07-03 07:55:10 +03:00
commit 66cbd8d88a
25 changed files with 10746 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
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: