magneticod. Passing host for host machine.
All checks were successful
continuous-integration/drone/pr Build is passing

This commit is contained in:
Alexey Skobkin 2022-07-03 05:41:10 +03:00
parent b08c462524
commit 198a62cb57
No known key found for this signature in database
GPG key ID: 5D5CEF6F221278E7

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