Fly.io deployment config

This commit is contained in:
Kátia Nakamura 2023-06-12 18:07:55 +02:00
parent ddad26212e
commit 0b7c3cef00
3 changed files with 24 additions and 0 deletions

2
.dockerignore Normal file
View File

@ -0,0 +1,2 @@
fly.toml
.git/

2
Procfile Normal file
View File

@ -0,0 +1,2 @@
# Modify this Procfile to fit your needs
web: gunicorn app:app

20
fly.toml Normal file
View File

@ -0,0 +1,20 @@
# fly.toml app configuration file generated for hello-fly-flask on 2023-06-12T17:22:20+02:00
#
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
#
app = "hello-fly-flask"
primary_region = "ams"
[build]
builder = "paketobuildpacks/builder:base"
[env]
PORT = "8080"
[http_service]
internal_port = 8080
force_https = true
auto_stop_machines = true
auto_start_machines = true
min_machines_running = 0