From afaeb99e37bbff2004972144b257db7b2d38bf28 Mon Sep 17 00:00:00 2001 From: enbyautumn <60362123+enbyautumn@users.noreply.github.com> Date: Mon, 30 Aug 2021 17:28:18 -0400 Subject: [PATCH] Change network_mode to work in compose Inside a docker-compose file, network mode should be `service:wireguard` not `container:wireguard` in order to function properly --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index e01cd98..1c8188d 100644 --- a/README.md +++ b/README.md @@ -46,7 +46,7 @@ services: curl: image: appropriate/curl command: http://httpbin.org/ip - network_mode: container:wireguard + network_mode: service:wireguard depends_on: - wireguard ```