diff --git a/README.md b/README.md index 295426d..5ad70c5 100644 --- a/README.md +++ b/README.md @@ -47,4 +47,14 @@ npm run dev ## Frontend Tech: - SolidJS -- Vite \ No newline at end of file +- Vite + +## Fly commands +``` +// suspend instance +fly scale count 0 +``` + +``` +fly scale memory 512 +``` \ No newline at end of file diff --git a/fly.toml b/fly.toml index 2ecb2c9..b2438a7 100644 --- a/fly.toml +++ b/fly.toml @@ -17,26 +17,10 @@ primary_region = "waw" destination = "/data" [[vm]] - memory = 256 + memory = 512 cpu_kind = 'shared' cpus = 1 [scale] - count = 1 + count = 0 idle_timeout = 0 - -#[[services]] -# internal_port = 8080 -# protocol = "tcp" - -#[[services.ports]] -# handlers = ["http"] -# port = "80" - -#[[services.ports]] -# handlers = ["tls", "http"] -# port = "443" - -#[[services.tcp_checks]] -# interval = 10000 -# timeout = 2000 \ No newline at end of file