add gameyfin service

This commit is contained in:
v.karaychentsev
2026-02-13 13:50:13 +03:00
parent 952eb75f1f
commit 430869f610
2 changed files with 46 additions and 0 deletions

View File

@@ -0,0 +1,37 @@
services:
gameyfin:
image: ghcr.io/gameyfin/gameyfin:2
container_name: gameyfin
restart: unless-stopped
networks:
- caddy_internal
dns:
- 192.168.1.131 # pi-hole
env_file:
- /run/secrets/gameyfin/secrets.env
environment:
# Generate a new APP_KEY using the command "openssl rand -base64 32" or similar.
#APP_KEY: secrets.sops.env
# (optional) Set the URL of your Gameyfin instance if you are using a reverse proxy.
# Currently, this is only used for generating links in notification emails and the log line at first run.
APP_URL: https://gameyfin.catmedved.com
# (optional) Set the user and group ID to run Gameyfin with a specific user.
PUID: 1000 # Change this to your user ID if needed
PGID: 1000 # Change this to your group ID if needed
volumes:
- "./container_data/db:/opt/gameyfin/db"
- "./container_data/data:/opt/gameyfin/data"
- "./container_data/plugindata:/opt/gameyfin/plugindata"
- "./container_data/logs:/opt/gameyfin/logs"
- "/mnt/wd/Games:/opt/gameyfin-library/Games"
ports:
- "10.8.0.3:8080:8080"
# If you plan to use the included torrent plugin, uncomment the following lines:
# - "6969:6969"
networks:
caddy_internal:
name: caddy_internal
external: true