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
This commit is contained in:
enbyautumn 2021-08-30 17:28:18 -04:00 committed by GitHub
parent a690651bec
commit afaeb99e37
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -46,7 +46,7 @@ services:
curl: curl:
image: appropriate/curl image: appropriate/curl
command: http://httpbin.org/ip command: http://httpbin.org/ip
network_mode: container:wireguard network_mode: service:wireguard
depends_on: depends_on:
- wireguard - wireguard
``` ```