Suspend fly.io instance
This commit is contained in:
@@ -48,3 +48,13 @@ npm run dev
|
|||||||
## Frontend Tech:
|
## Frontend Tech:
|
||||||
- SolidJS
|
- SolidJS
|
||||||
- Vite
|
- Vite
|
||||||
|
|
||||||
|
## Fly commands
|
||||||
|
```
|
||||||
|
// suspend instance
|
||||||
|
fly scale count 0
|
||||||
|
```
|
||||||
|
|
||||||
|
```
|
||||||
|
fly scale memory 512
|
||||||
|
```
|
||||||
@@ -17,26 +17,10 @@ primary_region = "waw"
|
|||||||
destination = "/data"
|
destination = "/data"
|
||||||
|
|
||||||
[[vm]]
|
[[vm]]
|
||||||
memory = 256
|
memory = 512
|
||||||
cpu_kind = 'shared'
|
cpu_kind = 'shared'
|
||||||
cpus = 1
|
cpus = 1
|
||||||
|
|
||||||
[scale]
|
[scale]
|
||||||
count = 1
|
count = 0
|
||||||
idle_timeout = 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
|
|
||||||
Reference in New Issue
Block a user