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:
|
services:
|
||||||
wireguard:
|
wireguard:
|
||||||
image: linuxserver/wireguard:latest
|
image: linuxserver/wireguard:latest
|
||||||
|
@ -7,7 +5,7 @@ services:
|
||||||
cap_add:
|
cap_add:
|
||||||
- NET_ADMIN
|
- NET_ADMIN
|
||||||
volumes:
|
volumes:
|
||||||
- ./config:/config
|
- /home/rob/docker/wireguard/config:/config
|
||||||
ports:
|
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
|
# 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"
|
- "5000:5000"
|
||||||
|
@ -28,8 +26,8 @@ services:
|
||||||
- EMAIL_FROM_ADDRESS
|
- EMAIL_FROM_ADDRESS
|
||||||
- EMAIL_FROM_NAME
|
- EMAIL_FROM_NAME
|
||||||
- SESSION_SECRET
|
- SESSION_SECRET
|
||||||
- WGUI_USERNAME=admin
|
- WGUI_USERNAME=rob.mcewan
|
||||||
- WGUI_PASSWORD=admin
|
- WGUI_PASSWORD=5b4wBnqU3J739e3y37hJ
|
||||||
- WG_CONF_TEMPLATE
|
- WG_CONF_TEMPLATE
|
||||||
- WGUI_MANAGE_START=true
|
- WGUI_MANAGE_START=true
|
||||||
- WGUI_MANAGE_RESTART=true
|
- WGUI_MANAGE_RESTART=true
|
||||||
|
@ -38,5 +36,5 @@ services:
|
||||||
options:
|
options:
|
||||||
max-size: 50m
|
max-size: 50m
|
||||||
volumes:
|
volumes:
|
||||||
- ./db:/app/db
|
- /home/rob/docker/wireguard/db:/app/db
|
||||||
- ./config:/etc/wireguard
|
- /home/rob/docker/wireguard/config:/etc/wireguard
|
Loading…
Reference in a new issue