From ffd6b8380b6b9621308b89ee19fb7ea97c472a1f Mon Sep 17 00:00:00 2001 From: "tom.chivert" Date: Thu, 26 Oct 2023 18:16:30 +0200 Subject: [PATCH] Add a wireguard_port variable --- templates/compose/wireguard.yml.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/compose/wireguard.yml.j2 b/templates/compose/wireguard.yml.j2 index 86237d3..97fcbb0 100644 --- a/templates/compose/wireguard.yml.j2 +++ b/templates/compose/wireguard.yml.j2 @@ -14,7 +14,7 @@ services: image: weejewel/wg-easy:{{ wireguard_version | default("latest") }} restart: unless-stopped ports: - - "51820:51820/udp" + - "{{ wireguard_port | default("51820") }}:51820/udp" volumes: - 'wireguard__etc_wireguard:/etc/wireguard' cap_add: