Adjusted fly.toml

This commit is contained in:
rzuasti
2026-06-18 09:16:12 -04:00
parent f0395b317e
commit 31791fe0f2
+19 -19
View File
@@ -7,35 +7,35 @@
#
# See deploy/fly/README.md for the full deploy procedure.
app = "oott-test" # change to your chosen Fly app name
primary_region = "ams" # change to a region near you / the reviewers
app = "oott-test" # change to your chosen Fly app name
primary_region = "yyz" # change to a region near you / the reviewers
# The image is built with Nix and pushed to the Fly registry (see README),
# so there is no [build] section: deploy with `fly deploy --image ...`.
[env]
OOTT_LOG_LEVEL = "info"
OOTT_NOTIFICATIONS_METHOD = "none" # no push/pushover on the test server
OOTT_PORT = "8080"
OOTT_DATA_DIR = "/data"
OOTT_SEED = "1" # reload deploy/fly/seed.sql demo data on every boot/deploy
OOTT_LOG_LEVEL = "info"
OOTT_NOTIFICATIONS_METHOD = "none" # no push/pushover on the test server
OOTT_PORT = "8080"
OOTT_DATA_DIR = "/data"
OOTT_SEED = "1" # reload deploy/fly/seed.sql demo data on every boot/deploy
# Persistent SQLite storage. Create the volume once with:
# fly volumes create oott_data --region ams --size 1
[[mounts]]
source = "oott_data"
destination = "/data"
source = "oott_data"
destination = "/data"
[http_service]
internal_port = 8080
force_https = true # Apple ATS requires HTTPS for the app's API calls
# Keep the machine always on during review so a reviewer never hits a cold
# start. To save money once review is over, set auto_stop_machines = "stop"
# and min_machines_running = 0 to scale to zero.
auto_stop_machines = "off"
auto_start_machines = true
min_machines_running = 1
internal_port = 8080
force_https = true # Apple ATS requires HTTPS for the app's API calls
# Keep the machine always on during review so a reviewer never hits a cold
# start. To save money once review is over, set auto_stop_machines = "stop"
# and min_machines_running = 0 to scale to zero.
auto_stop_machines = "off"
auto_start_machines = true
min_machines_running = 1
[[vm]]
size = "shared-cpu-1x"
memory = "512mb"
size = "shared-cpu-1x"
memory = "512mb"