mirror of
https://codeberg.org/git-pages/git-pages.git
synced 2026-05-14 03:01:48 +00:00
Fly.io: enable primary region with 1 machine always running.
This commit is contained in:
5
fly.toml
5
fly.toml
@@ -6,6 +6,8 @@
|
||||
# - PAGES_STORAGE_S3_SECRET_ACCESS_KEY
|
||||
# - PAGES_STORAGE_S3_BUCKET
|
||||
|
||||
primary_region = "fra"
|
||||
|
||||
[build]
|
||||
dockerfile = "Dockerfile"
|
||||
|
||||
@@ -33,6 +35,7 @@ internal_port = 80
|
||||
protocol = "tcp"
|
||||
auto_stop_machines = "stop"
|
||||
auto_start_machines = true
|
||||
min_machines_running = 1
|
||||
|
||||
[[services.ports]]
|
||||
port = 80
|
||||
@@ -59,6 +62,7 @@ internal_port = 443
|
||||
protocol = "tcp"
|
||||
auto_stop_machines = "stop"
|
||||
auto_start_machines = true
|
||||
min_machines_running = 1
|
||||
|
||||
[[services.ports]]
|
||||
port = 443
|
||||
@@ -92,6 +96,7 @@ protocol = "udp"
|
||||
ports = [{ port = 443 }]
|
||||
auto_stop_machines = "stop"
|
||||
auto_start_machines = true
|
||||
min_machines_running = 1
|
||||
|
||||
# Metrics
|
||||
|
||||
|
||||
Reference in New Issue
Block a user