added snake-api-template
This commit is contained in:
parent
549423d867
commit
0b1942d773
5 changed files with 488 additions and 0 deletions
39
template_snakeapi_service/fly.toml
Normal file
39
template_snakeapi_service/fly.toml
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
# fly.toml app configuration file generated for template-snake-api on 2025-04-30T12:40:47-07:00
|
||||
#
|
||||
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
|
||||
#
|
||||
|
||||
app = 'snake-api-template'
|
||||
primary_region = 'sea'
|
||||
kill_signal = 'SIGINT'
|
||||
kill_timeout = '5s'
|
||||
|
||||
[build]
|
||||
dockerfile = 'Dockerfile'
|
||||
|
||||
[http_service]
|
||||
internal_port = 8000
|
||||
force_https = true
|
||||
auto_stop_machines = 'stop'
|
||||
auto_start_machines = true
|
||||
min_machines_running = 0
|
||||
processes = ['app']
|
||||
|
||||
[[services]]
|
||||
protocol = 'tcp'
|
||||
internal_port = 8000
|
||||
|
||||
[[services.ports]]
|
||||
port = 443
|
||||
handlers = ['tls', 'http']
|
||||
|
||||
[[services.ports]]
|
||||
port = 80
|
||||
handlers = ['http']
|
||||
|
||||
[[vm]]
|
||||
memory = '512mb'
|
||||
cpu_kind = 'shared'
|
||||
cpus = 1
|
||||
|
||||
[[metrics]]
|
||||
Loading…
Add table
Add a link
Reference in a new issue