From 81634a45449874d50e4a91f3b106dcf393f1be00 Mon Sep 17 00:00:00 2001 From: Adam Langbert Date: Mon, 28 Feb 2022 16:13:31 -0500 Subject: [PATCH] add back named volume --- docker-compose.yml | 5 +++++ docs/deployment/2-docker-compose.md | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index 4c617162..dc772297 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -24,3 +24,8 @@ services: - "51820:51820/udp" devices: - "/dev/net/tun:/dev/net/tun" + +# shared volumes with the host +volumes: + wg-access-server-data: + driver: local diff --git a/docs/deployment/2-docker-compose.md b/docs/deployment/2-docker-compose.md index 7763e69d..fd5f382b 100644 --- a/docs/deployment/2-docker-compose.md +++ b/docs/deployment/2-docker-compose.md @@ -31,4 +31,8 @@ services: - "51820:51820/udp" devices: - "/dev/net/tun:/dev/net/tun" + +volumes: + wg-access-server-data: + driver: local ```