# Domain used to build short URLs (no scheme) DEFAULT_DOMAIN=s.example.com # Set to false if your reverse proxy does NOT terminate TLS IS_HTTPS_ENABLED=true # Public URL the dashboard uses to reach the Shlink API (with scheme) SHLINK_PUBLIC_URL=https://s.example.com # Initial API key created on first boot — also used to preconfigure the dashboard # Generate with: openssl rand -hex 32 INITIAL_API_KEY=change-me-to-a-long-random-string # Optional MaxMind GeoLite2 license key for IP geolocation GEOLITE_LICENSE_KEY= # Timezone TIMEZONE=UTC # Postgres POSTGRES_DB=shlink POSTGRES_USER=shlink POSTGRES_PASSWORD=change-me # Host ports exposed to the reverse proxy SHLINK_SERVER_PORT=8500 SHLINK_DASHBOARD_PORT=8501