diff --git a/deploy/portainer/stack.env.example b/deploy/portainer/stack.env.example new file mode 100644 index 0000000..dc1f5fe --- /dev/null +++ b/deploy/portainer/stack.env.example @@ -0,0 +1,29 @@ +# Copy these values into Portainer Stack environment variables. +# Do not commit real production secrets. + +POSTGRES_DB=hll_vietnam +POSTGRES_USER=hll_vietnam +POSTGRES_PASSWORD=replace-with-strong-postgres-password + +HLL_BACKEND_DATABASE_URL=postgresql://hll_vietnam:replace-with-strong-postgres-password@postgres:5432/hll_vietnam +HLL_BACKEND_HOST=0.0.0.0 +HLL_BACKEND_PORT=8000 +HLL_BACKEND_ALLOWED_ORIGINS=https://comunidadhll.devzamode.es +HLL_BACKEND_LIVE_DATA_SOURCE=rcon +HLL_BACKEND_HISTORICAL_DATA_SOURCE=rcon +HLL_BACKEND_RCON_TIMEOUT_SECONDS=20 +HLL_BACKEND_RCON_TARGETS=[{"name":"Comunidad Hispana #01","slug":"comunidad-hispana-01","external_server_id":"comunidad-hispana-01","host":"replace-me-01.example","port":7779,"password":"replace-me-01","source_name":"community-hispana-rcon","region":"ES","game_port":null,"query_port":null},{"name":"Comunidad Hispana #02","slug":"comunidad-hispana-02","external_server_id":"comunidad-hispana-02","host":"replace-me-02.example","port":7879,"password":"replace-me-02","source_name":"community-hispana-rcon","region":"ES","game_port":null,"query_port":null}] + +CADDY_NETWORK=stack-caddy + +# Advanced profile only. Leave disabled unless you intentionally start the profile. +HLL_HISTORICAL_REFRESH_INTERVAL_SECONDS=3600 +HLL_HISTORICAL_REFRESH_MAX_RETRIES=2 +HLL_HISTORICAL_REFRESH_RETRY_DELAY_SECONDS=15 +HLL_RCON_HISTORICAL_CAPTURE_INTERVAL_SECONDS=600 +HLL_RCON_HISTORICAL_CAPTURE_MAX_RETRIES=2 +HLL_RCON_HISTORICAL_CAPTURE_RETRY_DELAY_SECONDS=15 +HLL_BACKEND_RCON_ADMIN_LOG_LOOKBACK_MINUTES=10 +HLL_RCON_BACKFILL_CHUNK_HOURS=6 +HLL_RCON_BACKFILL_SLEEP_SECONDS=1 +HLL_RCON_BACKFILL_MAX_DAYS_BACK=45