From afe1216d57de147bdb71588e382e392e0e348c50 Mon Sep 17 00:00:00 2001 From: Brian Zalewski Date: Thu, 16 Feb 2023 02:44:39 +0000 Subject: [PATCH] Update 2 files - /home/dot_config/docker/templates/wireguard.docker-stack.yml.tmpl - /home/.chezmoidata.yaml --- home/.chezmoidata.yaml | 3 +++ .../docker/templates/wireguard.docker-stack.yml.tmpl | 8 ++++---- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/home/.chezmoidata.yaml b/home/.chezmoidata.yaml index 090affbc..53a5c7a7 100644 --- a/home/.chezmoidata.yaml +++ b/home/.chezmoidata.yaml @@ -34,6 +34,9 @@ docker: statping: description: Uptime monitoring for Megabyte Labs managed web services name: Megabyte Labs Uptime Monitoring + wireguard: + serverUrl: megabyte.space + internalSubnet: 10.93.92.0 macosRemoteLogin: 'on' netdataClaimURL: https://app.netdata.cloud themeparkTheme: aquamarine diff --git a/home/dot_config/docker/templates/wireguard.docker-stack.yml.tmpl b/home/dot_config/docker/templates/wireguard.docker-stack.yml.tmpl index 51ca74c9..88f56f20 100644 --- a/home/dot_config/docker/templates/wireguard.docker-stack.yml.tmpl +++ b/home/dot_config/docker/templates/wireguard.docker-stack.yml.tmpl @@ -11,13 +11,13 @@ services: environment: PUID: 1000 PGID: 1000 - TZ: "{{ timezone }}" - SERVERURL: "{{ template.SERVERURL }}" + TZ: "{{ .user.timezone }}" + SERVERURL: "{{ .docker.wireguard.serverUrl }}" SERVERPORT: 51820 PEERS: 1 PEERDNS: auto - INTERNAL_SUBNET: "{{ template.INTERNAL_SUBNET }}" - ALLOWEDIPS: "{{ template.INTERNAL_SUBNET }}/24" + INTERNAL_SUBNET: "{{ .docker.wireguard.internalSubnet }}" + ALLOWEDIPS: "{{ .docker.wireguard.internalSubnet }}/24" LOG_CONFS: true volumes: - /srv/stacks/wireguard:/config