Browse Source

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
pull/20/head
enbyautumn 4 years ago
committed by GitHub
parent
commit
afaeb99e37
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      README.md

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

Loading…
Cancel
Save