Skip to content

Commit 50d3649

Browse files
authored
Merge pull request gcgarner#124 from SensorsIot/pr/93
Pr/93
2 parents 02341d1 + 60c085d commit 50d3649

File tree

3 files changed

+29
-2
lines changed

3 files changed

+29
-2
lines changed

menu.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,13 @@ declare -A cont_array=(
4949
[qbittorrent]="qbittorrent"
5050
[domoticz]="Domoticz"
5151
[dozzle]="Dozzle"
52+
[wireguard]="Wireguard"
5253
# add yours here
5354
)
5455

5556
declare -a armhf_keys=(
5657
"portainer"
58+
"portainer_agent"
5759
"nodered"
5860
"influxdb"
5961
"grafana"
@@ -83,7 +85,7 @@ declare -a armhf_keys=(
8385
"qbittorrent"
8486
"domoticz"
8587
"dozzle"
86-
"portainer_agent"
88+
"wireguard"
8789
# add yours here
8890
)
8991
sys_arch=$(uname -m)
@@ -360,7 +362,7 @@ mainmenu_selection=$(whiptail --title "Main Menu" --menu --notags \
360362
"" 20 78 12 -- \
361363
"install" "Install Docker" \
362364
"build" "Build Stack" \
363-
"hassio" "Install Hass.io (Requires Docker)" \
365+
"hassio" "Install Home Assistant (Requires Docker)" \
364366
"native" "Native Installs" \
365367
"commands" "Docker commands" \
366368
"backup" "Backup options" \

services/wireguard/service.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
2+
wireguard:
3+
image: linuxserver/wireguard
4+
container_name: wireguard
5+
cap_add:
6+
- NET_ADMIN
7+
- SYS_MODULE
8+
environment:
9+
- PUID=1000
10+
- PGID=1000
11+
- TZ=Europe/Berlin
12+
- SERVERURL=<enter yours>.duckdns.org #optional
13+
- SERVERPORT=51820 #optional
14+
- PEERS=1 #optional
15+
- PEERDNS=auto #optional
16+
- INTERNAL_SUBNET=100.64.0.0/24 #optional
17+
volumes:
18+
- ./volumes/wireguard/config:/config
19+
- /lib/modules:/lib/modules
20+
ports:
21+
- 51820:51820/udp
22+
sysctls:
23+
- net.ipv4.conf.all.src_valid_mark=1
24+
restart: unless-stopped

volumes/wireguard/wg0.conf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
will be generated

0 commit comments

Comments
 (0)