- Seed based map generation
- Live Multiplayer
- Leaderboard
- Skins
- Docker & Docker Compose
- bun (for local frontend dev)
- .NET 10 SDK (for local backend dev)
Ready to go live? Use the provided docker-compose.prod.yml to launch everything in production mode:
Copy .env.example to .env and fill in the required values:
cp .env.example .envdocker compose -f docker-compose.prod.yml up -dTo serve the frontend and send all /api/ requests to the backend, use this NGINX config magic:
server {
listen 80; # Your http port
server_name your-domain.example.com;
location / {
proxy_pass http://frontend:3000;
}
location /api/ {
proxy_pass http://backend:8080/;
# The following config is required for oauth to work properly o.o
proxy_set_header X-Forwarded-Host $host;
proxy_buffer_size 256k;
proxy_buffers 4 256k;
proxy_busy_buffers_size 256k;
large_client_header_buffers 4 128k;
}
}