From be17a8b6880ab25a81d90e471a0c8213d9baa0c9 Mon Sep 17 00:00:00 2001 From: Peter Lewis Date: Wed, 1 Feb 2023 15:18:44 +0000 Subject: [PATCH] Update docker-compose.yml --- docker-compose.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 9842b26f..4aaba894 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,4 +1,7 @@ version: "3.8" +volumes: + etc_wireguard: + services: wg-easy: environment: @@ -18,10 +21,10 @@ services: # - WG_PRE_DOWN=echo "Pre Down" > /etc/wireguard/pre-down.txt # - WG_POST_DOWN=echo "Post Down" > /etc/wireguard/post-down.txt - image: weejewel/wg-easy + image: peterlewis/wg-easy container_name: wg-easy volumes: - - .:/etc/wireguard + - etc_wireguard:/etc/wireguard ports: - "51820:51820/udp" - "51821:51821/tcp"