From 88cacda2f22c0c79d68d256ffe50407291b6a6b4 Mon Sep 17 00:00:00 2001 From: Scott-Sowers-PostHog Date: Wed, 8 Jan 2025 18:27:29 +0000 Subject: [PATCH] Fly config updates for multi-regions --- __pycache__/config.cpython-312.pyc | Bin 1376 -> 1376 bytes fly.toml => fly-eu.toml | 0 fly-us.toml | 28 ++++++++++++++++++++++++++++ 3 files changed, 28 insertions(+) rename fly.toml => fly-eu.toml (100%) create mode 100644 fly-us.toml diff --git a/__pycache__/config.cpython-312.pyc b/__pycache__/config.cpython-312.pyc index 9589d777bb753233962b2198d48faeeee6550706..4c321e92f90e0b6bff2d39a0d286517c7fe9aa9f 100644 GIT binary patch delta 19 ZcmaFB^?-}(G%qg~0}$;0zmY496#zR@1)=}| delta 19 ZcmaFB^?-}(G%qg~0}w3i-^dll3II561rz`P diff --git a/fly.toml b/fly-eu.toml similarity index 100% rename from fly.toml rename to fly-eu.toml diff --git a/fly-us.toml b/fly-us.toml new file mode 100644 index 0000000..0bffe43 --- /dev/null +++ b/fly-us.toml @@ -0,0 +1,28 @@ +# fly.toml app configuration file generated for posthog-demo-3000 on 2024-12-19T00:49:41Z +# +# See https://fly.io/docs/reference/configuration/ for information about how to use this file. +# + +app = 'hogflix-us' +primary_region = 'sjc' + +[build] + +[http_service] + internal_port = 8080 + force_https = true + auto_stop_machines = 'stop' + auto_start_machines = true + min_machines_running = 0 + processes = ['app'] + +[[vm]] + memory = '1gb' + cpu_kind = 'shared' + cpus = 1 + memory_mb = 1024 + +[mounts] + source = "hogflix1" + destination = "/data" +