Suspend fly.io instance

This commit is contained in:
Guntis Smaukstelis
2025-01-02 16:09:57 +02:00
parent c0d71f136f
commit f09fe95352
2 changed files with 13 additions and 19 deletions
+11 -1
View File
@@ -47,4 +47,14 @@ npm run dev
## Frontend Tech:
- SolidJS
- Vite
- Vite
## Fly commands
```
// suspend instance
fly scale count 0
```
```
fly scale memory 512
```
+2 -18
View File
@@ -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