# Seans — variables of the installation stack (compose.release.yaml, D138; guide: docs/install.md). # Copy to `.env` next to the Compose file (saved as compose.yaml) and keep it private: `chmod 600 .env`. # Every line is optional; the value shown in a comment is the default. Settings of the server itself that are # not listed here go in `seans.env` beside it, one `SEANS_=` per line (docs/configuration.md). # --- Profiles ------------------------------------------------------------------------------------------------- # Opt-in parts of the stack, comma-separated: postgres, updater, gpu, and the bundled companions jellyfin, # gocoder, seerr, radarr, sonarr, lidarr, prowlarr, qbittorrent. Empty runs Seans alone. # COMPOSE_PROFILES=updater,jellyfin,gocoder # --- Network -------------------------------------------------------------------------------------------------- # Address and port the server is published on. Loopback suits a reverse proxy on the same host; 0.0.0.0 serves # every interface (then put TLS in front of it anyway). # SEANS_BIND_ADDRESS=127.0.0.1 # SEANS_PORT=8080 # The public HTTPS address users open (with a path for a sub-path install). Empty: the address a request came to. # SEANS_PUBLIC_URL=https://media.example.org # The reverse proxy's address or network as Seans sees it (comma-separated IPs or CIDR ranges). Without it, every # request through the proxy counts as one client (docs/install.md, HTTPS). # SEANS_TRUSTED_PROXIES=203.0.113.0/24 # SEANS_COOKIE_DOMAIN (one sign-in for sibling hosts) and SEANS_MAX_BODY_BYTES go in seans.env (docs/install.md §4). # IANA time zone of the admin's daily figures and the maintenance window of updates. # SEANS_TIME_ZONE=UTC # --- Logs ----------------------------------------------------------------------------------------------------- # json or text; debug, info, warn or error. # SEANS_LOG_FORMAT=json # SEANS_LOG_LEVEL=info # --- Storage -------------------------------------------------------------------------------------------------- # Each location is a named volume, or a host path when the value holds a `/`. A host path must be writable by # user 65532: `sudo install -d -o 65532 -g 65532 -m 700 `. Keep the backups on another disk. # SEANS_DATA_VOLUME=seans-data # the database (SQLite), secret.key, the setup token # SEANS_BACKUPS_VOLUME=seans-backups # backups, e.g. /mnt/backup-disk/seans # SEANS_TRANSCODE_VOLUME=seans-transcode # transcode cache # SEANS_IMAGES_VOLUME=seans-images # image cache # SEANS_OFFLINE_VOLUME=seans-offline # prepared offline files # Size caps (0: none), e.g. 200GiB. # SEANS_TRANSCODE_CAP=0 # SEANS_IMAGES_CAP=0 # SEANS_OFFLINE_CAP=200GiB # SEANS_BACKUPS_CAP=0 # Secret files: keep them in a directory only you can enter (`install -d -m 700 secrets`) and readable inside it # (`chmod 444`): the containers run as user 65532, not as you, and a mode 600 file stops them. After adding or # changing one, run `docker compose up -d --force-recreate` (docs/install.md §3). # The secrets key as a secret file instead of /secret.key: 32 random bytes in base64, # `head -c 32 /dev/urandom | base64 > secrets/secret.key`, or the key the installation has (docs/install.md §3). # Keep a copy away from the backups. # SEANS_SECRET_KEY_FILE=./secrets/secret.key # --- Media ---------------------------------------------------------------------------------------------------- # The library folder, read-only for Seans, Jellyfin and Gocoder (at /media and /video). The *arr services and # qBittorrent get the media root read-write at /data: keep the library and the downloads under one root, so an # import is a hard link, not a copy. Unset, both are empty named volumes. # SEANS_LIBRARY_DIR=/srv/media/library # SEANS_MEDIA_ROOT=/srv/media # User and group the *arr services and qBittorrent write the media root as. # SEANS_MEDIA_UID=1000 # SEANS_MEDIA_GID=1000 # --- Postgres (profile postgres) ------------------------------------------------------------------------------ # A long random password, `openssl rand -hex 24`. The URL below uses it as it is. # SEANS_POSTGRES_PASSWORD= # SEANS_DATABASE_DRIVER=postgres # SEANS_DATABASE_URL=postgres://seans:${SEANS_POSTGRES_PASSWORD}@postgres:5432/seans?sslmode=disable # SEANS_POSTGRES_VOLUME=seans-postgres # --- Updates (profile updater) -------------------------------------------------------------------------------- # SEANS_UPDATER_URL=http://seans-updater:8090 # Two secret files with at least 32 characters each: `head -c 32 /dev/urandom | base64 > secrets/updater-token` # (and proxy-token), then `chmod 444` them. # SEANS_UPDATER_TOKEN_FILE=./secrets/updater-token # SEANS_PROXY_TOKEN_FILE=./secrets/proxy-token # The release feed (an OCI repository, host/path) and the PEM public key(s) its releases are signed with, both # from the release notes. Without a feed the Updates page shows versions and compatibility only. # SEANS_UPDATER_FEED= # SEANS_UPDATER_TRUST_KEY_FILE=./secrets/release-signing.pub # The Docker socket and the numeric group that owns it: `stat -c %g /var/run/docker.sock`. # DOCKER_SOCKET=/var/run/docker.sock # DOCKER_GID= # --- Bundled companions --------------------------------------------------------------------------------------- # Gocoder's own database (profile gocoder): `openssl rand -hex 24`. # SEANS_GOCODER_DB_PASSWORD= # Gocoder's hardware acceleration (vaapi, qsv, nvidia); empty encodes on the CPU. # SEANS_GOCODER_HWACCEL= # The library as the engine sees it = as Gocoder sees it (the bundled pair: /media and /video). # SEANS_GOCODER_PATH_MAP=/media=/video # The GPU probe (profile gpu). # SEANS_GPU_PROBE_URL=http://seans-gpu-probe:8099 # --- Images --------------------------------------------------------------------------------------------------- # The release file pins every image by digest. After an update, set the applied image here, as the Updates page # shows it (`to_image@to_digest`), before you recreate the stack (docs/install.md, Updates). # SEANS_IMAGE= # SEANS_UPDATER_IMAGE= # SEANS_UPDATER_PROXY_IMAGE= # JELLYFIN_IMAGE=