magneticod. Passing host for host machine. #55

Merged
skobkin merged 1 commit from fix_magneticod_host_mode into master 2022-07-03 02:42:45 +00:00
Showing only changes of commit 198a62cb57 - Show all commits

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