magneticod. Passing host for host machine. #55

Merged
skobkin merged 1 commits from fix_magneticod_host_mode into master 2022-07-03 02:42:45 +00:00
1 changed files with 2 additions and 0 deletions

View File

@ -7,6 +7,8 @@ services:
# 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"
extra_hosts:
- 'host.docker.internal:host-gateway'
ports:
- "${MAGNETICO_PORT}:${MAGNETICO_PORT}/udp"
env_file: .env