fix gameyfin

This commit is contained in:
2026-09-26 22:37:25 -06:00
parent d14130048a
commit 7b485c7a2a
12 changed files with 72 additions and 21 deletions
-13
View File
@@ -1,13 +0,0 @@
# Generate a new APP_KEY using the command "openssl rand -base64 32" or similar.
APP_KEY=changeme
# (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.example.com
# Exposed port
PORT=8095
# Location of game files (can be multiple subdirectories: /srv/games -> /srv/games/steam & /srv/games/nintendo)
GAMES_DIR_LOCATION=/srv/gameyfin/games
GAMEYFIN_DATA_LOCATION=./gameyfin
+18 -8
View File
@@ -3,16 +3,26 @@ services:
image: ghcr.io/gameyfin/gameyfin:2
container_name: gameyfin
restart: unless-stopped
env_file:
.env
environment:
# Generate a new APP_KEY using the command "openssl rand -base64 32" or similar.
APP_KEY: qFM/vxkrlP4z9eYLisIZcRC7PpSjG+tIktEcGfuewtU=
# (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.happylizard.me
# (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:
- ${GAMEYFIN_DATA_LOCATION}/db:/opt/gameyfin/db
- ${GAMEYFIN_DATA_LOCATION}/data:/opt/gameyfin/data
- ${GAMEYFIN_DATA_LOCATION}/plugindata:/opt/gameyfin/plugindata
- ${GAMEYFIN_DATA_LOCATION}/logs:/opt/gameyfin/logs
- ${GAMES_DIR_LOCATION}:/opt/gameyfin/games
- "./gameyfin/db:/opt/gameyfin/db"
- "./gameyfin/data:/opt/gameyfin/data"
- "./gameyfin/plugindata:/opt/gameyfin/plugindata"
- "./gameyfin/logs:/opt/gameyfin/logs"
- "/mnt/nas2/BACKUPS/server_backup/media/games:/opt/gameyfin/games"
- "/mnt/nas2/BACKUPS/server_backup/media/rstack/downloads/games:/opt/gameyfin/torrented"
ports:
- ${PORT}:8080
- "8095:8080"
# If you plan to use the included torrent plugin, uncomment the following lines:
# - "6969:6969"
# - "6881:6881"