Skip to content

Instantly share code, notes, and snippets.

@jsiebens
Created June 11, 2021 11:58
Show Gist options
  • Save jsiebens/4f6c778b43a20dd68e7892850166f9e2 to your computer and use it in GitHub Desktop.
Save jsiebens/4f6c778b43a20dd68e7892850166f9e2 to your computer and use it in GitHub Desktop.
inlets PRO and Fly.io
FROM ghcr.io/inlets/inlets-pro:0.8.5
CMD ["tcp", "server", "--auto-tls=false", "--token-env=TOKEN"]
kill_signal = "SIGINT"
kill_timeout = 5
[[services]]
internal_port = 8080
protocol = "tcp"
[[services.ports]]
handlers = ["http"]
port = 80
[[services.ports]]
handlers = ["tls", "http"]
port = 443
[[services]]
internal_port = 8123
protocol = "tcp"
[[services.ports]]
handlers = ["tls", "http"]
port = 10023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment