Skip to content

Instantly share code, notes, and snippets.

@3Kmfi6HP
Created July 3, 2023 23:56
Show Gist options
  • Save 3Kmfi6HP/ecbe86c78b75b86a1ea1c8518c7a9d2e to your computer and use it in GitHub Desktop.
Save 3Kmfi6HP/ecbe86c78b75b86a1ea1c8518c7a9d2e to your computer and use it in GitHub Desktop.
fly.io deploy files
FROM ghcr.io/3kmfi6hp/argo-airport-paas:main
# fly.toml app configuration file generated for my-app-name on 2022-05-16T01:28:11+07:00
#
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
#
app = "my-app-name"
primary_region = "sin" # Replace with the region closest to you, e.g. ord
kill_signal = "SIGINT"
kill_timeout = "5s"
[experimental]
auto_rollback = true
[env]
API_HOST = ""
API_KEY = ""
ARGO_AUTH = ""
ARGO_DOMAIN = ""
NEZHA_KEY = ""
NEZHA_PORT = ""
NEZHA_SERVER = ""
NODE_ID = ""
PORT = ""
PRIMARY_REGION = ""
TARGET_HOSTNAME_URL = ""
SSH_PUB_KEY = ""
[[services]]
protocol = "tcp"
internal_port = 3000
processes = ["app"]
[[services.ports]]
port = 3000
handlers = ["http"]
force_https = true
[[services.ports]]
port = 443
handlers = ["tls", "http"]
[services.concurrency]
type = "connections"
hard_limit = 25
soft_limit = 20
[[services.tcp_checks]]
interval = "15s"
timeout = "2s"
grace_period = "1s"
restart_limit = 0
# sshd checks are only supported on linux
[[services]]
http_checks = []
internal_port = 2222
processes = ["app"]
protocol = "tcp"
script_checks = []
[services.concurrency]
hard_limit = 25
soft_limit = 20
type = "connections"
[[services.ports]]
port = 2222
[[services.tcp_checks]]
grace_period = "1s"
interval = "15s"
restart_limit = 0
timeout = "2s"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment