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 ```