Initial Phoenix App with Fly.io

This commit is contained in:
2023-03-02 18:40:10 +02:00
commit 0853da9826
54 changed files with 1984 additions and 0 deletions

42
fly.toml Normal file
View File

@@ -0,0 +1,42 @@
# fly.toml file generated for osuuspuutarha on 2023-03-02T17:29:11+02:00
app = "osuuspuutarha"
kill_signal = "SIGTERM"
kill_timeout = 5
processes = []
[deploy]
release_command = "/app/bin/migrate"
[env]
PHX_HOST = "osuuspuutarha.fly.dev"
PORT = "8080"
[experimental]
auto_rollback = true
[[services]]
http_checks = []
internal_port = 8080
processes = ["app"]
protocol = "tcp"
script_checks = []
[services.concurrency]
hard_limit = 1000
soft_limit = 1000
type = "connections"
[[services.ports]]
force_https = true
handlers = ["http"]
port = 80
[[services.ports]]
handlers = ["tls", "http"]
port = 443
[[services.tcp_checks]]
grace_period = "1s"
interval = "15s"
restart_limit = 0
timeout = "2s"