Got gameyfin .env file working again
This commit is contained in:
+2
-2
@@ -1,9 +1,9 @@
|
|||||||
# Generate a new APP_KEY using the command "openssl rand -base64 32" or similar.
|
# Generate a new APP_KEY using the command "openssl rand -base64 32" or similar.
|
||||||
APP_KEY=3WkfZ7Tqxs4jgbxitYStGFsQOpQJ9xMVcuZVG/7ILak=
|
APP_KEY=
|
||||||
|
|
||||||
# (optional) Set the URL of your Gameyfin instance if you are using a reverse proxy.
|
# (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.
|
# Currently, this is only used for generating links in notification emails and the log line at first run.
|
||||||
APP_URL=https://gameyfin.happylizard.me
|
APP_URL=https://gameyfin.change.me
|
||||||
|
|
||||||
PUID=1000 # Change this to your user ID if needed
|
PUID=1000 # Change this to your user ID if needed
|
||||||
PGID=1000 # Change this to your group ID if needed
|
PGID=1000 # Change this to your group ID if needed
|
||||||
|
|||||||
@@ -6,11 +6,11 @@ services:
|
|||||||
env_file:
|
env_file:
|
||||||
.env
|
.env
|
||||||
volumes:
|
volumes:
|
||||||
- ${GAMEYFIN_DATA_DIR:-gameyfin}/db:/opt/gameyfin/db
|
- ${GAMEYFIN_DATA_DIR:-./gameyfin}/db:/opt/gameyfin/db
|
||||||
- ${GAMEYFIN_DATA_DIR:-gameyfin}/data:/opt/gameyfin/data
|
- ${GAMEYFIN_DATA_DIR:-./gameyfin}/data:/opt/gameyfin/data
|
||||||
- ${GAMEYFIN_DATA_DIR:-gameyfin}/plugindata:/opt/gameyfin/plugindata
|
- ${GAMEYFIN_DATA_DIR:-./gameyfin}/plugindata:/opt/gameyfin/plugindata
|
||||||
- ${GAMEYFIN_DATA_DIR:-gameyfin}/logs:/opt/gameyfin/logs
|
- ${GAMEYFIN_DATA_DIR:-./gameyfin}/logs:/opt/gameyfin/logs
|
||||||
- ${GAMEYFIN_MEDIA_DIR:-games}:/opt/gameyfin/games
|
- ${GAMEYFIN_MEDIA_DIR:-./games}:/opt/gameyfin/games
|
||||||
ports:
|
ports:
|
||||||
- ${PORT}:8080
|
- ${PORT}:8080
|
||||||
# If you plan to use the included torrent plugin, uncomment the following lines:
|
# If you plan to use the included torrent plugin, uncomment the following lines:
|
||||||
|
|||||||
+10
-1
@@ -4,10 +4,19 @@
|
|||||||
#
|
#
|
||||||
# Example usage:
|
# Example usage:
|
||||||
# ./cm give pizza2d1 minecraft:oak_log 1
|
# ./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=()
|
command=()
|
||||||
while [[ ! -z "${1}" ]]; do
|
while [[ ! -z "${1}" ]]; do
|
||||||
command+=("${1}")
|
command+=("${1}")
|
||||||
shift
|
shift
|
||||||
done
|
done
|
||||||
sudo docker exec -i neoforge_server rcon-cli "${command[@]}"
|
docker exec -i neoforge_server rcon-cli "${command[@]}"
|
||||||
|
|||||||
Reference in New Issue
Block a user