Seerr on Google Cloud Run
Seerr is the 2026 merger of Jellyseerr and Overseerr — an open-source, MIT-licensed request UI that sits in front of a Jellyfin, Plex, or Emby media server. Users browse and request titles; an admin approves the request, and Seerr calls Sonarr's and Radarr's APIs to trigger acquisition. This module deploys Seerr on Cloud Run v2 on top of the App_CloudRun foundation, which provisions and manages the shared Google Cloud infrastructure.
This guide focuses on the cloud services Seerr uses and how to explore and operate them from the Google Cloud Console and the command line. For the mechanics common to every Cloud Run application — service identity, ingress and load balancing, scaling and concurrency, CI/CD, Cloud Armor, IAP, Binary Authorization, VPC Service Controls, backups, and the deployment lifecycle — refer to the App_CloudRun foundation guide rather than repeating them here.
1. Overview
Seerr runs as a single Node.js/Next.js container on Cloud Run v2. The deployment wires together a small set of Google Cloud services:
| Capability | Google Cloud service | Notes |
|---|---|---|
| Compute | Cloud Run v2 | Single Node.js process, 2 vCPU / 4 GiB by default |
| Database | Cloud SQL PostgreSQL 15 | Holds request/user data; migrations run automatically on every boot |
| Object storage | Cloud Storage | A storage bucket mounted at /app/config via GCS FUSE — holds settings.json, Seerr's own app settings |
| Cache & queue | none | Seerr has no Redis or queue dependency |
| Secrets | Secret Manager | Only the generated database password — Seerr seeds no credentials of its own (its first admin comes from the app's own web setup wizard) |
| Ingress | Cloud Run URL | Default run.app URL; optional external HTTPS load balancer + custom domain |
Sensible defaults worth knowing up front:
- Genuinely prebuilt — no custom image.
Seerr_Common'sscripts/directory is empty.container_image_source = "prebuilt"deploysghcr.io/seerr-team/seerrdirectly; there is no Cloud Build step for the main image. DB_TYPE=postgresis set unconditionally. Seerr's own datasource logic (process.env.DB_TYPE === 'postgres', confirmed via/app/dist/datasource.jsin the actual image) falls back to an in-container SQLite file — wiped on every restart, with no error — if this variable is ever missing.Seerr_Commonsets it as a static environment variable so a stock deployment is always correct.- Port 5055, health path
/api/v1/status. Confirmed via localdocker runtesting and a live deployment:GET /api/v1/statusreturns an unauthenticated200with JSON ({"version":...,"commitTag":...}) once the app is ready. - Two distinct pieces of state. PostgreSQL holds request/user data. Seerr's
own app settings (connected media servers, discovery sliders, notification
agents) are written to a plain
settings.jsonfile under/app/configregardless of the database backend — confirmed by direct container filesystem inspection. This module mounts a persistent GCS volume at that path in addition to the Postgres connection. DB_PASS, notDB_PASSWORD. Seerr's TypeORM datasource reads a specifically-namedDB_PASSenvironment variable for the database password. This module setsdb_password_env_var_name = "DB_PASS"to match.
2. Google Cloud Services & How to Explore Them
All commands assume PROJECT and REGION are set. Service and resource
names are reported in the deployment Outputs.
A. Cloud Run — the Seerr service
- Console: Cloud Run → select the service for revisions, traffic, logs, and metrics.
- CLI:
gcloud run services list --project "$PROJECT" --region "$REGION"
gcloud run services describe <service-name> --project "$PROJECT" --region "$REGION"
See App_CloudRun for scaling, concurrency, and traffic splitting.
B. Cloud SQL — request/user data
- CLI:
gcloud sql instances list --project "$PROJECT"
gcloud sql databases list --instance=<instance-name> --project "$PROJECT"
C. Cloud Storage — the settings volume
The storage bucket is mounted at /app/config via GCS FUSE. It holds
settings.json (and settings.old.json, a db/ directory, and logs/) —
Seerr's own application-level configuration, separate from anything stored in
PostgreSQL.
- CLI:
gcloud storage buckets list --project "$PROJECT" --filter="name~seerr"
gcloud storage ls "gs://<bucket-name>/"
D. Secret Manager
Only the auto-generated database password lives here — Seerr has no admin-credential secret of its own.
- CLI:
gcloud secrets list --project "$PROJECT" --filter="name~seerr"
E. Networking & ingress
- CLI:
gcloud run services describe <service-name> --region "$REGION" --format='value(status.url)'
F. Cloud Logging & Monitoring
- CLI:
gcloud run services logs read <service-name> --project "$PROJECT" --region "$REGION" --limit 50
3. Seerr Application Behaviour
- No first-deploy database-schema job. Seerr's
dist/index.jscallsdbConnection.runMigrations()explicitly on every boot, so there is nodb-init/migrate job in this module and none is needed.initialization_jobsis empty by default. - First-run setup is entirely in the app's own web UI. There is no seeded admin credential of any kind — visit the service URL after first deploy and complete Seerr's setup wizard: connect Jellyfin/Plex/Emby, then Sonarr/Radarr.
- Health path. Startup and liveness probes both target
GET /api/v1/status— an unauthenticated200with JSON payload once the app has finished booting and connecting to Postgres. - Inspect job execution (should show nothing, by design):
gcloud run jobs executions list --job <job-name> --project "$PROJECT" --region "$REGION"
⚠ The DB_TYPE trap — the most important thing to know about this module
Seerr's datasource selection is a single, easy-to-miss environment variable
check, confirmed by reading /app/dist/datasource.js inside the actual
running image:
exports.isPgsql = process.env.DB_TYPE === 'postgres';
If DB_TYPE is not set to exactly postgres, Seerr silently falls back
to an in-container SQLite database file — no error, no warning in the logs,
and a deployment that otherwise looks completely healthy (the container
boots, the health check passes, the UI loads). Every write — including the
entire first-run setup — goes to a file wiped clean on the next restart or
cold start.
Seerr_Common closes this gap with a static environment variable set
unconditionally ahead of any caller-supplied environment_variables:
environment_variables = merge(
{ DB_TYPE = "postgres" },
var.environment_variables
)
A stock deployment of this module is correct out of the box. The risk
surfaces only if you fork the Common module or replace environment_variables
wholesale instead of layering additions on top — verify DB_TYPE=postgres
survives any such change with:
gcloud run services describe <service-name> --project "$PROJECT" --region "$REGION" \
--format='value(spec.template.spec.containers[0].env)' | grep DB_TYPE
4. Configuration Variables
Variables are grouped exactly as they appear on the deployment platform. Only settings specific to or notable for Seerr are listed; every other input is inherited from App_CloudRun with its standard behaviour.
Group 3 — Application Identity
| Variable | Default | Description |
|---|---|---|
application_name | seerr | Base name for resources. |
display_name | Seerr | Human-readable name shown in the platform UI. |
application_version | latest | Pulled directly as the ghcr.io/seerr-team/seerr image tag — no build step involved. |
Group 4 — Runtime & Scaling
| Variable | Default | Description |
|---|---|---|
container_port | 5055 | Confirmed via local docker run and live deployment. |
container_image_source | prebuilt | Seerr only supports the official image; Seerr_Common also hardcodes this internally. |
min_instance_count / max_instance_count | 1 / 5 | See §6 below — max_instance_count = 5 is a looser default than Seerr's single-writer settings model would suggest. |
enable_image_mirroring | true | Mirrors the image into Artifact Registry (avoids GHCR rate limits). |
Group 11 — Storage & Filesystem
| Variable | Default | Description |
|---|---|---|
storage_buckets | one data bucket | Additional bucket, separate from the automatic storage bucket. |
gcs_volumes | [] | The storage bucket mount at /app/config is added automatically; use this for additional volumes only. |
Group 12 — Database Backend
| Variable | Default | Description |
|---|---|---|
database_type | POSTGRES_15 | Required — Seerr has no non-Postgres path. |
db_name / db_user | seerr / seerr | Forwarded to Seerr_Common, injected as DB_NAME/DB_USER. |
db_password_env_var_name | DB_PASS | Critical — Seerr's datasource reads DB_PASS specifically, not the Foundation's default DB_PASSWORD. |
Group 13 — Jobs & Scheduled Tasks
| Variable | Default | Description |
|---|---|---|
initialization_jobs | [] | Empty and typically stays that way — dbConnection.runMigrations() runs on every boot inside the app itself. |
Group 14 — Observability & Health
| Variable | Default | Description |
|---|---|---|
startup_probe / liveness_probe | HTTP /api/v1/status (via Seerr_Common) | Unauthenticated 200 JSON status endpoint; the variant's own variables.tf default (HTTP /) is superseded by Seerr_Common's more accurate default. |
5. Outputs
| Output | Description |
|---|---|
service_name / service_url | Cloud Run service name and URL. |
database_instance_name / database_name / database_user / database_password_secret | Cloud SQL instance and Seerr database identifiers. |
storage_buckets | The storage bucket backing /app/config. |
deployment_id / tenant_id / resource_prefix | Naming identifiers. |
project_id / project_number | Project identifiers. |
initialization_jobs | Created initialization job names (empty for Seerr). |
6. Configuration Pitfalls & Sensible Defaults
Risk: Critical (data loss / outage / security) — High (service degraded) — Medium (cost or partial degradation) — Low (minor).
| Setting | Sensible value | Risk | Consequence if wrong |
|---|---|---|---|
DB_TYPE environment variable | Leave Seerr_Common's default (postgres) untouched | Critical | Missing/overridden DB_TYPE silently drops Seerr onto a per-container SQLite file wiped on every restart — the app looks healthy, but nothing persists. |
db_password_env_var_name | Leave at DB_PASS | Critical | Seerr's TypeORM datasource only reads DB_PASS; the Foundation's default DB_PASSWORD alone is never read, and the app cannot authenticate to Postgres. |
max_instance_count | Set 1 if settings changes (media-server config, discovery sliders, notification agents) must never race | Medium | settings.json is a single mutable file, not a transactional database — concurrent writers from multiple instances risk a lost write. The module default is 5, looser than the single-writer-safe value. |
gcs_volumes / storage at /app/config | Leave the automatic storage mount in place | Critical | Removing or misconfiguring this volume loses every app-level setting (media servers, sliders, notification agents) on the next cold start, even though Postgres data is untouched. |
| Probe path | Leave at /api/v1/status | High | An authenticated or nonexistent probe path would leave the revision permanently unhealthy even though the app booted fine. |
For the foundation behaviour referenced throughout — service identity, scaling and concurrency, ingress and load balancing, CI/CD, Cloud Armor, IAP, Binary Authorization, VPC-SC, backups, and image mirroring — see App_CloudRun. Seerr-specific application configuration shared with the GKE variant is described in Seerr_Common.