From e2b577c05e8499edb7ce0d0675a999769b992031 Mon Sep 17 00:00:00 2001 From: "rob.mcewan" Date: Tue, 29 Oct 2024 11:39:53 +0000 Subject: [PATCH] Update wireguard.sh --- wireguard.sh | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/wireguard.sh b/wireguard.sh index 17d9f45..be1f7f3 100644 --- a/wireguard.sh +++ b/wireguard.sh @@ -1,5 +1,3 @@ -version: "3" - services: wireguard: image: linuxserver/wireguard:latest @@ -7,7 +5,7 @@ services: cap_add: - NET_ADMIN volumes: - - ./config:/config + - /home/rob/docker/wireguard/config:/config ports: # port for wireguard-ui. this must be set here as the `wireguard-ui` container joins the network of this container and hasn't its own network over which it could publish the ports - "5000:5000" @@ -28,8 +26,8 @@ services: - EMAIL_FROM_ADDRESS - EMAIL_FROM_NAME - SESSION_SECRET - - WGUI_USERNAME=admin - - WGUI_PASSWORD=admin + - WGUI_USERNAME=rob.mcewan + - WGUI_PASSWORD=5b4wBnqU3J739e3y37hJ - WG_CONF_TEMPLATE - WGUI_MANAGE_START=true - WGUI_MANAGE_RESTART=true @@ -38,5 +36,5 @@ services: options: max-size: 50m volumes: - - ./db:/app/db - - ./config:/etc/wireguard \ No newline at end of file + - /home/rob/docker/wireguard/db:/app/db + - /home/rob/docker/wireguard/config:/etc/wireguard \ No newline at end of file