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