Using "host" network_mode for magneticod-python stack to be able to simply apply firewall rules.
This commit is contained in:
parent
6727b9d407
commit
a110008bdc
|
@ -4,6 +4,9 @@ services:
|
|||
magneticod:
|
||||
image: skobkin/magneticod-python:latest
|
||||
container_name: magneticod-python
|
||||
# Using host mode to be able to simply apply firewall rules to disable connection tracking
|
||||
# https://github.com/boramalper/magnetico/blob/master/cmd/magneticod/README.md#setup
|
||||
network_mode: "host"
|
||||
ports:
|
||||
- "${MAGNETICO_PORT}:${MAGNETICO_PORT}/udp"
|
||||
env_file: .env
|
||||
|
|
Loading…
Reference in a new issue