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:
parent
a690651bec
commit
afaeb99e37
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in a new issue