Merge pull request #5 from nullmedium/flyio-new-files
Fly.io Launch config files
This commit is contained in:
27
fly.toml
27
fly.toml
@@ -1,27 +1,22 @@
|
||||
app = "timetrack"
|
||||
primary_region = "iad"
|
||||
# fly.toml app configuration file generated for timetrack-2whuug on 2025-07-01T09:27:14Z
|
||||
#
|
||||
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
|
||||
#
|
||||
|
||||
app = 'timetrack-2whuug'
|
||||
primary_region = 'fra'
|
||||
|
||||
[build]
|
||||
|
||||
[env]
|
||||
FLASK_APP = "app.py"
|
||||
FLASK_ENV = "production"
|
||||
|
||||
[http_service]
|
||||
internal_port = 5000
|
||||
force_https = true
|
||||
auto_stop_machines = true
|
||||
auto_stop_machines = 'stop'
|
||||
auto_start_machines = true
|
||||
min_machines_running = 0
|
||||
|
||||
[[mounts]]
|
||||
source = "timetrack_data"
|
||||
destination = "/app/instance"
|
||||
|
||||
[processes]
|
||||
app = "flask run --host=0.0.0.0"
|
||||
processes = ['app']
|
||||
|
||||
[[vm]]
|
||||
cpu_kind = "shared"
|
||||
cpu_kind = 'shared'
|
||||
cpus = 1
|
||||
memory_mb = 256
|
||||
memory_mb = 256
|
||||
|
||||
Reference in New Issue
Block a user