Skip to content

Commit

Permalink
allow disabling IPv6 for Docker Desktop
Browse files Browse the repository at this point in the history
see #7
  • Loading branch information
dealloc committed Mar 3, 2024
1 parent 32923f5 commit be19c29
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions fly.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ kill_signal = 'SIGTERM'
PORT = '8080'
RATE_LIMIT_MAX_REQUESTS = "100"
RATE_LIMIT_INTERVAL = "300"
ENABLE_IPV6 = 'true'

[http_service]
internal_port = 8080
Expand Down
2 changes: 1 addition & 1 deletion rel/env.sh.eex
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# configure node for distributed erlang with IPV6 support
export ERL_AFLAGS="-proto_dist inet6_tcp"
export ECTO_IPV6="true"
export ECTO_IPV6="${ENABLE_IPV6}"
export DNS_CLUSTER_QUERY="${FLY_APP_NAME}.internal"
export RELEASE_DISTRIBUTION="name"
export RELEASE_NODE="${FLY_APP_NAME}-${FLY_IMAGE_REF##*-}@${FLY_PRIVATE_IP}"

0 comments on commit be19c29

Please sign in to comment.