mirror of
https://github.com/rzuasti/oott.git
synced 2026-07-08 19:21:54 +02:00
Adjusted fly.toml
This commit is contained in:
+19
-19
@@ -7,35 +7,35 @@
|
|||||||
#
|
#
|
||||||
# See deploy/fly/README.md for the full deploy procedure.
|
# See deploy/fly/README.md for the full deploy procedure.
|
||||||
|
|
||||||
app = "oott-test" # change to your chosen Fly app name
|
app = "oott-test" # change to your chosen Fly app name
|
||||||
primary_region = "ams" # change to a region near you / the reviewers
|
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),
|
# 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 ...`.
|
# so there is no [build] section: deploy with `fly deploy --image ...`.
|
||||||
|
|
||||||
[env]
|
[env]
|
||||||
OOTT_LOG_LEVEL = "info"
|
OOTT_LOG_LEVEL = "info"
|
||||||
OOTT_NOTIFICATIONS_METHOD = "none" # no push/pushover on the test server
|
OOTT_NOTIFICATIONS_METHOD = "none" # no push/pushover on the test server
|
||||||
OOTT_PORT = "8080"
|
OOTT_PORT = "8080"
|
||||||
OOTT_DATA_DIR = "/data"
|
OOTT_DATA_DIR = "/data"
|
||||||
OOTT_SEED = "1" # reload deploy/fly/seed.sql demo data on every boot/deploy
|
OOTT_SEED = "1" # reload deploy/fly/seed.sql demo data on every boot/deploy
|
||||||
|
|
||||||
# Persistent SQLite storage. Create the volume once with:
|
# Persistent SQLite storage. Create the volume once with:
|
||||||
# fly volumes create oott_data --region ams --size 1
|
# fly volumes create oott_data --region ams --size 1
|
||||||
[[mounts]]
|
[[mounts]]
|
||||||
source = "oott_data"
|
source = "oott_data"
|
||||||
destination = "/data"
|
destination = "/data"
|
||||||
|
|
||||||
[http_service]
|
[http_service]
|
||||||
internal_port = 8080
|
internal_port = 8080
|
||||||
force_https = true # Apple ATS requires HTTPS for the app's API calls
|
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
|
# 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"
|
# start. To save money once review is over, set auto_stop_machines = "stop"
|
||||||
# and min_machines_running = 0 to scale to zero.
|
# and min_machines_running = 0 to scale to zero.
|
||||||
auto_stop_machines = "off"
|
auto_stop_machines = "off"
|
||||||
auto_start_machines = true
|
auto_start_machines = true
|
||||||
min_machines_running = 1
|
min_machines_running = 1
|
||||||
|
|
||||||
[[vm]]
|
[[vm]]
|
||||||
size = "shared-cpu-1x"
|
size = "shared-cpu-1x"
|
||||||
memory = "512mb"
|
memory = "512mb"
|
||||||
|
|||||||
Reference in New Issue
Block a user