Files

36 lines
657 B
TOML

# Change this to the globally unique Fly app name you create with `fly apps create`.
app = "my-open-connector"
primary_region = "iad"
[build]
dockerfile = "docker/Dockerfile"
[env]
NODE_ENV = "production"
PORT = "3000"
HOST = "0.0.0.0"
OOMOL_CONNECT_DATA_DIR = "/app/data"
[mounts]
source = "open_connector_data"
destination = "/app/data"
[http_service]
internal_port = 3000
force_https = true
auto_stop_machines = "suspend"
auto_start_machines = true
min_machines_running = 0
[[http_service.checks]]
interval = "30s"
timeout = "5s"
grace_period = "10s"
method = "GET"
path = "/health"
protocol = "http"
[[vm]]
size = "shared-cpu-1x"
memory = "512mb"