diff --git a/magneticod/docker-compose.yml b/magneticod/docker-compose.yml index e29b1b9..df8c567 100644 --- a/magneticod/docker-compose.yml +++ b/magneticod/docker-compose.yml @@ -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