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