refactor: remove net.ipv4.ip_forward sysctl from gateway service
Remove net.ipv4.ip_forward sysctl configuration from gateway service since host network mode requires IP forwarding to be configured at the host system level rather than per-container.
This commit is contained in:
1 parent
1721215c95
commit
a87a4664be
1 file changed
-2
@@ -69,8 +69,6 @@ services:
|
|||||||
depends_on:
|
depends_on:
|
||||||
- backend
|
- backend
|
||||||
network_mode: host
|
network_mode: host
|
||||||
sysctls:
|
|
||||||
net.ipv4.ip_forward: "1"
|
|
||||||
cap_add:
|
cap_add:
|
||||||
- NET_ADMIN
|
- NET_ADMIN
|
||||||
- SYS_MODULE
|
- SYS_MODULE
|
||||||
|
|||||||
Reference in new issue
Block a user