Rust server (axum) with server-side translations, OS-aware download buttons, /download/<platform> redirecting to the latest GitHub release asset and logging platform, version and geolocated region (no IP stored), password-protected /stats and /stats.csv. Docker compose setup behind nginx. Ten screenshots taken with new dev hooks (CP_FILTER, CP_PANE, CP_SORT, CP_BOARD). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
12 lines
320 B
YAML
12 lines
320 B
YAML
services:
|
|
site:
|
|
build: .
|
|
image: chesspenguin-site
|
|
restart: unless-stopped
|
|
env_file: .env
|
|
ports:
|
|
# Only for the reverse proxy on this machine.
|
|
- "127.0.0.1:${HOST_PORT:-8080}:8080"
|
|
volumes:
|
|
# Download statistics (SQLite) and the geolocation databases.
|
|
- ./data:/app/data
|