# Copy to .env next to docker-compose.yml and fill in. Never commit the real .env. # How the gateway container reaches Emby. MEMBY_EMBY_URL=https://molise.bounceme.net # What TVs are told to stream from. Only set this when it differs from the address # above — video goes device -> Emby directly, never through the gateway. MEMBY_EMBY_PUBLIC_URL=https://molise.bounceme.net # Postgres password for the memby role. Generate one, e.g. # openssl rand -base64 24 POSTGRES_PASSWORD=7dfc3eb07108013c7bea9787457397551b5eb9059adac51aea4741f4ec649be2 # Fixed NAS host port used by the mserver.sublogue.com reverse proxy. MEMBY_PORT=32768 # INFO is recommended. DEBUG also logs successful health, status and artwork requests. MEMBY_LOG_LEVEL=INFO # Used for "today" boundaries and human-readable Sonarr air/download times. MEMBY_TIMEZONE=Pacific/Auckland # How long a cached home payload stays warm. MEMBY_HOME_TTL=60s # Maximum number of distinct Memby TVs one Emby user may keep signed in. MEMBY_MAX_CLIENTS_PER_USER=1 # Admin interface at https://mserver.sublogue.com/admin/ — library imports, the # maintenance switch, and row analytics. Leave blank to disable /admin entirely. Generate with # openssl rand -hex 32 MEMBY_ADMIN_TOKEN=4fad67d508558efee5cc5ae05694105421d4c79d35ee2333a817b3791235cd8c # Public gateway address and a dedicated token used only by the Gitea release workflow. # Generate the token with: openssl rand -hex 32 MEMBY_PUBLIC_URL=https://mserver.sublogue.com MEMBY_RELEASE_PUBLISH_TOKEN= # Library import. Hourly incremental keeps up with episodes added through the day. MEMBY_SYNC_INTERVAL=1h MEMBY_SYNC_ON_START=false # Optional Emby service account for imports. Without it the gateway borrows the most # recently active TV session, which works but stops if that user is removed. MEMBY_SYNC_USER_ID=23bf90fc1fe049ce898db7adda1ed7bf MEMBY_SYNC_API_KEY=56775917938841e7ac1b6a233d4d5075 # Optional Sonarr calendar integration. Use the URL reachable from this container, # not necessarily the address entered in a browser. The API key is in Sonarr under # Settings > General > Security. MEMBY_SONARR_URL=http://10.0.0.2:8989 MEMBY_SONARR_API_KEY=6b608b051ee24582925773bd5dfbe37a MEMBY_SONARR_TTL=5m # How long after an episode airs the "aired, coming soon" banner keeps being offered. # 0 turns the banners off and leaves the airing-today row alone. MEMBY_SONARR_ALERT_WINDOW=3h # Optional Tracearr-powered For You signals. Create a read-only public API key in # Tracearr Settings. Server ID is optional unless Tracearr monitors multiple servers. MEMBY_TRACEARR_URL=https://tracearr.sublogue.com/ MEMBY_TRACEARR_API_KEY=trr_pub_WKSdiZFGZ_10d-zgQ2Wx0H4Ym4NAiIeLBSvf8a6rvZ0 MEMBY_TRACEARR_SERVER_ID=6964b9ed-3a21-4f51-b94b-cd344ec42c1b MEMBY_TRACEARR_SYNC_INTERVAL=5m MEMBY_TRACEARR_FULL_INTERVAL=24h MEMBY_FOR_YOU_MIN_REBUILD_AGE=10m MEMBY_FOR_YOU_REFRESH_INTERVAL=30m