Update wireguard.sh
This commit is contained in:
parent
c5da616bc5
commit
e2b577c05e
1 changed files with 5 additions and 7 deletions
12
wireguard.sh
12
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
|
||||
- /home/rob/docker/wireguard/db:/app/db
|
||||
- /home/rob/docker/wireguard/config:/etc/wireguard
|
Loading…
Reference in a new issue