|
| 1 | +# ============================================================================ |
| 2 | +# Platform Server Configuration |
| 3 | +# ============================================================================ |
| 4 | +# Copy this file to .env.server and fill in your values |
| 5 | +# Usage: docker compose -f docker-compose.server.yml --env-file .env.server up -d |
| 6 | +# ============================================================================ |
| 7 | + |
| 8 | +# ============================================================================= |
| 9 | +# REQUIRED: Owner Configuration |
| 10 | +# ============================================================================= |
| 11 | + |
| 12 | +# Your subnet owner hotkey (SS58 format) |
| 13 | +OWNER_HOTKEY=5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY |
| 14 | + |
| 15 | +# Challenge ID (default: term-bench) |
| 16 | +CHALLENGE_ID=term-bench |
| 17 | + |
| 18 | +# ============================================================================= |
| 19 | +# Database Configuration |
| 20 | +# ============================================================================= |
| 21 | + |
| 22 | +# PostgreSQL credentials |
| 23 | +POSTGRES_USER=postgres |
| 24 | +POSTGRES_PASSWORD=your_secure_password_here |
| 25 | +POSTGRES_DB=postgres |
| 26 | +POSTGRES_PORT=5432 |
| 27 | + |
| 28 | +# ============================================================================= |
| 29 | +# Server Configuration |
| 30 | +# ============================================================================= |
| 31 | + |
| 32 | +# Server port (default: 8080) |
| 33 | +SERVER_PORT=8080 |
| 34 | + |
| 35 | +# Challenge container URL (internal docker network) |
| 36 | +CHALLENGE_URL=http://term-challenge:8081 |
| 37 | + |
| 38 | +# Challenge container external port (default: 8081) |
| 39 | +CHALLENGE_PORT=8081 |
| 40 | + |
| 41 | +# ============================================================================= |
| 42 | +# Logging & Monitoring |
| 43 | +# ============================================================================= |
| 44 | + |
| 45 | +# Log level |
| 46 | +RUST_LOG=info,platform_server=debug |
| 47 | + |
| 48 | +# Sentry DSN for error tracking (optional) |
| 49 | +# SENTRY_DSN=https://xxx@sentry.io/xxx |
| 50 | + |
| 51 | +# ============================================================================= |
| 52 | +# Environment (optional) |
| 53 | +# ============================================================================= |
| 54 | + |
| 55 | +# Environment name for Sentry (production, staging, development) |
| 56 | +# ENVIRONMENT=production |
0 commit comments