Compare commits

...
3 Commits
Author SHA1 Message Date
pizza2d1 7505df51fc rename owncloud folder 2026-09-27 17:32:18 -06:00
pizza2d1 9ab5d1f554 Got gameyfin .env file working again 2026-09-27 17:20:45 -06:00
pizza2d1 e6b8ee5b38 testing gameyfin 2026-09-27 17:16:53 -06:00
5 changed files with 36 additions and 19 deletions
+18
View File
@@ -0,0 +1,18 @@
# Generate a new APP_KEY using the command "openssl rand -base64 32" or similar.
APP_KEY=
# (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.change.me
PUID=1000 # Change this to your user ID if needed
PGID=1000 # Change this to your group ID if needed
# The location of gameyfin config files like metadata and db files
GAMEYFIN_CONFIG_DIR=
# Should point to where games are located
GAMEYFIN_MEDIA_DIR=
# The port on where gameyfin will be hosted
PORT=8095
+8 -18
View File
@@ -3,26 +3,16 @@ services:
image: ghcr.io/gameyfin/gameyfin:2
container_name: gameyfin
restart: unless-stopped
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
env_file:
.env
volumes:
- "./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"
- ${GAMEYFIN_DATA_DIR:-./gameyfin}/db:/opt/gameyfin/db
- ${GAMEYFIN_DATA_DIR:-./gameyfin}/data:/opt/gameyfin/data
- ${GAMEYFIN_DATA_DIR:-./gameyfin}/plugindata:/opt/gameyfin/plugindata
- ${GAMEYFIN_DATA_DIR:-./gameyfin}/logs:/opt/gameyfin/logs
- ${GAMEYFIN_MEDIA_DIR:-./games}:/opt/gameyfin/games
ports:
- "8095:8080"
- ${PORT}:8080
# If you plan to use the included torrent plugin, uncomment the following lines:
# - "6969:6969"
# - "6881:6881"
+10 -1
View File
@@ -4,10 +4,19 @@
#
# Example usage:
# ./cm give pizza2d1 minecraft:oak_log 1
#
# Troubleshooting:
# If the command shows an error that you are denied permission to the docker socket, you need to add your user to the docker group:
#
# sudo usermod -aG docker $USER
#
# And then you will need to log out in order for it to take effect:
# - For desktop environments you need to actually log out
# - If you are running this through SSH on a remote device you just need to close the terminal and reconnect
command=()
while [[ ! -z "${1}" ]]; do
command+=("${1}")
shift
done
sudo docker exec -i neoforge_server rcon-cli "${command[@]}"
docker exec -i neoforge_server rcon-cli "${command[@]}"