Compare commits
8
Commits
fdfe35d734
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7505df51fc | ||
|
|
9ab5d1f554 | ||
|
|
e6b8ee5b38 | ||
|
|
7b485c7a2a | ||
|
|
d14130048a | ||
|
|
fe2e2cf699 | ||
|
|
3e2a1be4d1 | ||
|
|
fe0087314d |
@@ -0,0 +1 @@
|
|||||||
|
whMbEtOQ/7B2eH8YOLJwbYQz
|
||||||
@@ -0,0 +1,48 @@
|
|||||||
|
-----BEGIN PRIVATE KEY-----
|
||||||
|
MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQDD84b31Brvmfcc
|
||||||
|
GTwXuf5n5NW6KxIhLWVZgsCJq+lwGTGl1Cqm9vnzZqD7MDLNzztWk51FDXxeJy9Z
|
||||||
|
Vos1F+n3qfDi4zdd8zWIJxLTsIEkqZjSWiQqqmFijXoaEPBsQ32qRZprh/FfNw3P
|
||||||
|
TagroIgpgzd196eoWdDdggenYBG8/PbktaBKgOo6jz6Q5/UzNTmvcbtlxlsxPos8
|
||||||
|
aTqzezCgA/cArg8mxmfvRPrw8umC8ATiVLvGrXeMiSvcr8Els5air/idhYC8u5zO
|
||||||
|
zGZCePxoKUptQvh/06jsye1S3JOf+RsfAWvu7DgWvSJU2dHfVmtb4ZMSa6cjqTPP
|
||||||
|
cW7S1WyLAgMBAAECggEAAwabqvAHinOiMTjiiKtClnAeLMXFfeWpjvxJ5NZWwHhj
|
||||||
|
H+Bq2DEwIuYOzlIsNqlgjTGyWAKhTQLl5EdF1wgLgNuK8LX5gOXkibmwvLwZAmvs
|
||||||
|
BDOII3CGGHN+0zA3xjQ0mJCCle5/d6zt9amJU0MjVyDDlnrAiAT7CLCdVaRSIczv
|
||||||
|
SETM90NBVHNMraB+Tz9kR1FhyDDlzqpRn/19Hm4BG6/iSmPYpL3jgCRWNweXSXdd
|
||||||
|
x9EitJCz6Yo9+0qPD8DayrH5sKviZw0QDXUezWCcQvgXMsv5MJa7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
|
||||||
|
-----END PRIVATE KEY-----
|
||||||
|
-----BEGIN CERTIFICATE-----
|
||||||
|
MIIDNTCCAh2gAwIBAgIUWWDVQNmrPPo2HlyhYuSYY2uKPbEwDQYJKoZIhvcNAQEL
|
||||||
|
BQAwKjELMAkGA1UEBhMCTk8xGzAZBgNVBAMMEmNvcHlwYXJ0eS1pbnNlY3VyZTAe
|
||||||
|
Fw0wMDAxMDEwMDAwMDBaFw0zODAxMTkwMDAwMDBaMCoxCzAJBgNVBAYTAk5PMRsw
|
||||||
|
GQYDVQQDDBJjb3B5cGFydHktaW5zZWN1cmUwggEiMA0GCSqGSIb3DQEBAQUAA4IB
|
||||||
|
DwAwggEKAoIBAQDD84b31BrvmfccGTwXuf5n5NW6KxIhLWVZgsCJq+lwGTGl1Cqm
|
||||||
|
9vnzZqD7MDLNzztWk51FDXxeJy9ZVos1F+n3qfDi4zdd8zWIJxLTsIEkqZjSWiQq
|
||||||
|
qmFijXoaEPBsQ32qRZprh/FfNw3PTagroIgpgzd196eoWdDdggenYBG8/PbktaBK
|
||||||
|
gOo6jz6Q5/UzNTmvcbtlxlsxPos8aTqzezCgA/cArg8mxmfvRPrw8umC8ATiVLvG
|
||||||
|
rXeMiSvcr8Els5air/idhYC8u5zOzGZCePxoKUptQvh/06jsye1S3JOf+RsfAWvu
|
||||||
|
7DgWvSJU2dHfVmtb4ZMSa6cjqTPPcW7S1WyLAgMBAAGjUzBRMB0GA1UdDgQWBBQC
|
||||||
|
uhBjOit55cEz7jMIiJq2BljqxDAfBgNVHSMEGDAWgBQCuhBjOit55cEz7jMIiJq2
|
||||||
|
BljqxDAPBgNVHRMBAf8EBTADAQH/MA0GCSqGSIb3DQEBCwUAA4IBAQCu7VE/Pt4H
|
||||||
|
IOHAacQFJN9rdUtI1lcvbJEMdpPglHgFa546pgzDjS8QGvULmppb4mkMbezZ2u+v
|
||||||
|
ZsWMfLxATYgfqEPO/fnT/UqFX2TI2pmmZhqSV+eW8AGRPD5LYyfXpvU4ciSz4Fyl
|
||||||
|
FlrcCOStbeOjHwpeF+n92sF6/LL3n4yy1jmLnTaZDdd59PcWpQkX8omBWlXPdCPR
|
||||||
|
ot0ZI2OpK5mDUG2FglCXl29k1q/zLsKPyfmG7T6VOMB8HO7EylzgSTke4WH9QLR/
|
||||||
|
bkn7AZU+JEIdC6SgR0WSQAntqM+b/OuYSBzXDX0XLwnyY2Dx8SshKNF9v6GwTq7j
|
||||||
|
yQev95xStUTw
|
||||||
|
-----END CERTIFICATE-----
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
EZxNgrX09kHRX2qlfZetVnuHgC/l6hMkDKXPDW46
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
bTDJRCUVWhaRcKKErFQO+Eos
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
|
||||||
|
εΊ72q�α`†Βlψ®ϋ‚=ΐ‹ΟΙό�,Ά�|τηΆ*ζ8³Sν�8)Ε"�Ϋ‚‚'Εγ¤Ϋ(ΊsN8
|
||||||
Binary file not shown.
Binary file not shown.
@@ -0,0 +1 @@
|
|||||||
|
J5hbvRSKj4HaPatDCg9f/8c3
|
||||||
+12
-7
@@ -1,13 +1,18 @@
|
|||||||
# 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=changeme
|
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.example.com
|
APP_URL=https://gameyfin.change.me
|
||||||
|
|
||||||
# Exposed port
|
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
|
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
|
|
||||||
|
|||||||
@@ -6,11 +6,11 @@ services:
|
|||||||
env_file:
|
env_file:
|
||||||
.env
|
.env
|
||||||
volumes:
|
volumes:
|
||||||
- ${GAMEYFIN_DATA_LOCATION}/db:/opt/gameyfin/db
|
- ${GAMEYFIN_DATA_DIR:-./gameyfin}/db:/opt/gameyfin/db
|
||||||
- ${GAMEYFIN_DATA_LOCATION}/data:/opt/gameyfin/data
|
- ${GAMEYFIN_DATA_DIR:-./gameyfin}/data:/opt/gameyfin/data
|
||||||
- ${GAMEYFIN_DATA_LOCATION}/plugindata:/opt/gameyfin/plugindata
|
- ${GAMEYFIN_DATA_DIR:-./gameyfin}/plugindata:/opt/gameyfin/plugindata
|
||||||
- ${GAMEYFIN_DATA_LOCATION}/logs:/opt/gameyfin/logs
|
- ${GAMEYFIN_DATA_DIR:-./gameyfin}/logs:/opt/gameyfin/logs
|
||||||
- ${GAMES_DIR_LOCATION}:/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[@]}"
|
||||||
|
|||||||
@@ -0,0 +1,4 @@
|
|||||||
|
# Exposed port (default is 51820)
|
||||||
|
PORT=
|
||||||
|
# Number of client.conf files you want automatically generated (into /config/peer*/peer*.conf)
|
||||||
|
PEERS=
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
Changes to the docker-compose and .env files may not affect the previously made wireguard config files. So it is recommended to:
|
||||||
|
- Stop/Remove the container
|
||||||
|
- Delete the previous configuration (default location is ./wireguard)
|
||||||
|
- Start the container
|
||||||
@@ -0,0 +1,28 @@
|
|||||||
|
---
|
||||||
|
services:
|
||||||
|
wireguard:
|
||||||
|
image: lscr.io/linuxserver/wireguard:latest
|
||||||
|
container_name: wireguard
|
||||||
|
cap_add:
|
||||||
|
- NET_ADMIN
|
||||||
|
- SYS_MODULE #optional
|
||||||
|
environment:
|
||||||
|
- PUID=1000
|
||||||
|
- PGID=1000
|
||||||
|
- TZ=Etc/UTC
|
||||||
|
- SERVERURL=wg.happylizard.me #optional
|
||||||
|
- PEERS=${PEERS:-3}
|
||||||
|
- SERVERPORT=${PORT:-51820} #optional
|
||||||
|
- PEERDNS=auto #optional
|
||||||
|
- INTERNAL_SUBNET=10.20.0.0 #optional
|
||||||
|
- ALLOWEDIPS=0.0.0.0/0 #optional
|
||||||
|
- PERSISTENTKEEPALIVE_PEERS= #optional
|
||||||
|
- LOG_CONFS=true #optional
|
||||||
|
volumes:
|
||||||
|
- ./wireguard:/config
|
||||||
|
- /lib/modules:/lib/modules #optional
|
||||||
|
ports:
|
||||||
|
- ${PORT:-51820}:${PORT:-51820}/udp
|
||||||
|
sysctls:
|
||||||
|
- net.ipv4.conf.all.src_valid_mark=1
|
||||||
|
restart: unless-stopped
|
||||||
Reference in New Issue
Block a user