From an empty folder to your cinema in ten minutes.

A compose file and your browser are all it takes: secrets are generated on first launch, and every setting is made in the setup assistant.

The compose file

Create an empty folder and save this file as docker-compose.yml. It works as it stands: the app answers on the server's port 3000, and its data lives in a named volume.

docker-compose.yml
# Laterna - minimal deployment
# No .env: secrets are generated on first launch,
# and every setting is made in the setup assistant.

services:
  laterna:
    image: ghcr.io/lk59/laterna:latest   # :10.65.1 to pin a version, :edge to follow main
    container_name: laterna
    restart: unless-stopped

    # Reachable from the server only (http://localhost:3000).
    # Behind a proxy on the same Docker network, remove these two lines.
    ports:
      - "127.0.0.1:3000:3000"

    # The Docker network of your reverse proxy (and ideally Jellyfin).
    # networks:
    #   - proxy

    volumes:
      # Database, settings, secrets and logs: all of the app's state.
      - laterna-data:/app/data
      # Optional, read-only: your media, for the statistics.
      # - /path/to/media:/mnt/media/video:ro

    environment:
      - TZ=Etc/UTC
      # Behind an HTTPS proxy (step 3):
      # - COOKIE_SECURE=true
      # - TRUSTED_PROXIES=nginx-proxy-manager

    # Optional: a memory ceiling.
    # mem_limit: 2g

    healthcheck:
      test: ["CMD", "wget", "-q", "-O", "/dev/null", "http://127.0.0.1:3000/api/ping"]
      interval: 30s
      timeout: 5s
      retries: 3
      start_period: 60s

volumes:
  laterna-data:
    name: laterna-data   # fixed name, used by backups

# networks:
#   proxy:
#     external: true   # the name `docker network ls` gives

Set TZ to your time zone (Europe/London, America/New_York...). To keep the data in a ./data folder next to the file, replace the volume line with - ./data:/app/data and create the folder first: mkdir data && sudo chown 1001:1001 data.

Installed before 10.65.2? Your names are cine-app and cine-app-data: keep them — renaming the volume would start from an empty database. Only the image: line may change to ghcr.io/lk59/laterna:latest (same image).

Every step in detail, Traefik, permissions and troubleshooting: QUICKSTART.md and DEPLOYMENT.md.