Update Dockerfile

install wireguard
copy wireguard config

added wireguarg config

Update Dockerfile

Update Dockerfile

a

cleanup
This commit is contained in:
jaannnis 2023-09-24 15:15:54 +02:00 committed by BuildTools
parent 02f8e58e47
commit 3cced1d334
8 changed files with 22 additions and 2 deletions

View file

@ -0,0 +1,10 @@
#!/usr/bin/with-contenv bash
# Bring up WireGuard if not already up
if ! ip link show dev wg0 > /dev/null 2>&1; then
wg-quick up wg0
else
sleep 60
fi
# Exit after running
exit 0

View file

@ -0,0 +1 @@
longrun

View file

@ -1,5 +1,7 @@
#!/usr/bin/with-contenv bash
# Wait for WireGuard to be up
echo "Starting Plex Media Server. . . (you can ignore the libusb_init error)"
export PLEX_MEDIA_SERVER_INFO_MODEL=$(uname -m)
export PLEX_MEDIA_SERVER_INFO_PLATFORM_VERSION=$(uname -r)