Run it
Up in three commands
You need Docker with the Compose plugin and a free
TMDB API key.
Without a key the app runs, but you cannot add titles.
git clone https://github.com/mbyte-labs/sofalog.git && cd sofalog
cp env.example .env
Open .env and set BASE_URL to the address
people will reach the app at, and one of
TMDB_API_KEY_V3 / TMDB_API_KEY_V4. Then:
docker compose up -d
Browse to http://localhost:8080. The first visit is the
setup page, which creates the admin account; everyone else is added
under Settings → Users. Everything the app stores lands in
./data next to the compose file — back that directory
up and you have backed up the app. Upgrading is
docker compose pull && docker compose up -d.
The variables most installs set
| Variable |
What it does |
BASE_URL |
Required. The absolute URL users open, e.g.
https://media.example.com.
|
TMDB_API_KEY_V3 / _V4 |
TMDB credential — set one. |
TMDB_WATCH_REGION |
Country for "where to watch" listings (US by
default).
|
DEFAULT_TIMEZONE |
Zone for users who have not picked one (UTC by
default).
|
TRUSTED_PROXIES |
Your reverse proxy's address, so the real client IP is seen.
|
Every variable — refresh intervals, the Jellyfin scan, OpenID
Connect, how .env is read — is in the
configuration reference. Put a TLS-terminating reverse proxy in front (Caddy, nginx,
Traefik): HTTPS is what makes the app installable as a PWA. The
architecture overview
shows the runtime shape and how the code is laid out.