diff --git a/stacks/cinedock/docker-compose.yml b/stacks/cinedock/docker-compose.yml new file mode 100644 index 00000000..224c894a --- /dev/null +++ b/stacks/cinedock/docker-compose.yml @@ -0,0 +1,25 @@ +services: + cinedock: + image: ghcr.io/cinedock/cinedock:4.1.6 + restart: unless-stopped + environment: + CONFIG_DIR: /config + PORT: "8945" + TMDB_API_KEY: ${TMDB_API_KEY:-} + ports: + - "${CINEDOCK_PORT:-8945}:8945" + volumes: + - cinedock-config:/config + healthcheck: + test: + - CMD + - python + - -c + - "import urllib.request; urllib.request.urlopen('http://127.0.0.1:8945/', timeout=5)" + interval: 30s + timeout: 5s + retries: 5 + start_period: 15s + +volumes: + cinedock-config: diff --git a/templates.json b/templates.json index be9380a8..530740e1 100644 --- a/templates.json +++ b/templates.json @@ -1875,6 +1875,31 @@ "url": "https://github.com/portainer/templates", "stackfile": "edge/sorba-sde/docker-compose.yml" } + }, + { + "id": 77, + "type": 3, + "title": "CineDock", + "description": "A cinematic, television-first interface for the Emby, Jellyfin or Plex server you already run.", + "note": "After deployment, open http://<host>:<CINEDOCK_PORT> (8945 by default) and follow CineDock's setup wizard to connect your existing media server. CineDock does not scan, copy or change media files. The TMDB API key is optional.", + "categories": ["media"], + "platform": "linux", + "logo": "https://raw.githubusercontent.com/cinedock/unraid-templates/main/cinedock-icon.png", + "env": [ + { + "name": "CINEDOCK_PORT", + "label": "Published web port", + "default": "8945" + }, + { + "name": "TMDB_API_KEY", + "label": "TMDB API key (optional)" + } + ], + "repository": { + "url": "https://github.com/portainer/templates", + "stackfile": "stacks/cinedock/docker-compose.yml" + } } ] }