mirror of https://github.com/TZGyn/shortener
convert frontend to use flyio
parent
ee7d6f7718
commit
0af8751e9d
@ -0,0 +1,15 @@
|
|||||||
|
# flyctl launch added from .gitignore
|
||||||
|
**/.DS_Store
|
||||||
|
**/node_modules
|
||||||
|
build
|
||||||
|
.svelte-kit
|
||||||
|
package
|
||||||
|
**/.env
|
||||||
|
**/.env.*
|
||||||
|
!**/.env.example
|
||||||
|
**/vite.config.js.timestamp-*
|
||||||
|
**/vite.config.ts.timestamp-*
|
||||||
|
|
||||||
|
# flyctl launch added from node_modules/tailwindcss/stubs/.gitignore
|
||||||
|
!node_modules/tailwindcss/stubs/**/*
|
||||||
|
fly.toml
|
||||||
@ -0,0 +1,21 @@
|
|||||||
|
# fly.toml app configuration file generated for kon-dashboard on 2024-08-12T12:07:06+08:00
|
||||||
|
#
|
||||||
|
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
|
||||||
|
#
|
||||||
|
|
||||||
|
app = 'kon-dashboard'
|
||||||
|
primary_region = 'iad'
|
||||||
|
|
||||||
|
[build]
|
||||||
|
|
||||||
|
[http_service]
|
||||||
|
internal_port = 3000
|
||||||
|
force_https = true
|
||||||
|
auto_stop_machines = 'stop'
|
||||||
|
auto_start_machines = true
|
||||||
|
min_machines_running = 0
|
||||||
|
processes = ['app']
|
||||||
|
|
||||||
|
[[vm]]
|
||||||
|
size = 'shared-cpu-1x'
|
||||||
|
memory = '512mb'
|
||||||
Loading…
Reference in New Issue