70 lines
1.2 KiB
TOML
70 lines
1.2 KiB
TOML
|
|
# fly.toml app configuration file generated for snakebyte on 2025-01-04T01:06:05-08:00
|
||
|
|
#
|
||
|
|
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
|
||
|
|
#
|
||
|
|
|
||
|
|
app = 'snakebyte'
|
||
|
|
primary_region = 'sea'
|
||
|
|
|
||
|
|
[env]
|
||
|
|
PRIMARY_REGION = 'sea'
|
||
|
|
|
||
|
|
[[mounts]]
|
||
|
|
source = 'pg_data'
|
||
|
|
destination = '/data'
|
||
|
|
|
||
|
|
[[services]]
|
||
|
|
protocol = 'tcp'
|
||
|
|
internal_port = 5432
|
||
|
|
auto_start_machines = false
|
||
|
|
|
||
|
|
[[services.ports]]
|
||
|
|
port = 5432
|
||
|
|
handlers = ['pg_tls']
|
||
|
|
|
||
|
|
[services.concurrency]
|
||
|
|
type = 'connections'
|
||
|
|
hard_limit = 1000
|
||
|
|
soft_limit = 1000
|
||
|
|
|
||
|
|
[[services]]
|
||
|
|
protocol = 'tcp'
|
||
|
|
internal_port = 5433
|
||
|
|
auto_start_machines = false
|
||
|
|
|
||
|
|
[[services.ports]]
|
||
|
|
port = 5433
|
||
|
|
handlers = ['pg_tls']
|
||
|
|
|
||
|
|
[services.concurrency]
|
||
|
|
type = 'connections'
|
||
|
|
hard_limit = 1000
|
||
|
|
soft_limit = 1000
|
||
|
|
|
||
|
|
[checks]
|
||
|
|
[checks.pg]
|
||
|
|
port = 5500
|
||
|
|
type = 'http'
|
||
|
|
interval = '15s'
|
||
|
|
timeout = '10s'
|
||
|
|
path = '/flycheck/pg'
|
||
|
|
|
||
|
|
[checks.role]
|
||
|
|
port = 5500
|
||
|
|
type = 'http'
|
||
|
|
interval = '15s'
|
||
|
|
timeout = '10s'
|
||
|
|
path = '/flycheck/role'
|
||
|
|
|
||
|
|
[checks.vm]
|
||
|
|
port = 5500
|
||
|
|
type = 'http'
|
||
|
|
interval = '15s'
|
||
|
|
timeout = '10s'
|
||
|
|
path = '/flycheck/vm'
|
||
|
|
|
||
|
|
[[metrics]]
|
||
|
|
port = 9187
|
||
|
|
path = '/metrics'
|
||
|
|
https = false
|