Fly.io with one instance and one volume with auto_stop false

This commit is contained in:
Guntis Smaukstelis
2023-05-13 21:09:49 +03:00
parent 7cb6349ac7
commit ea19ae27f8
3 changed files with 11 additions and 3 deletions
+9 -1
View File
@@ -9,5 +9,13 @@ primary_region = "waw"
[http_service]
internal_port = 8080
force_https = true
auto_stop_machines = true
auto_stop_machines = false
auto_start_machines = true
[[mounts]]
source = "data_volume"
destination = "/data"
[scale]
count = 1
idle_timeout = 0