magneticod. Passing host for host machine.
continuous-integration/drone/pr Build is passing Details

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
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