-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfly.toml
More file actions
31 lines (25 loc) · 734 Bytes
/
Copy pathfly.toml
File metadata and controls
31 lines (25 loc) · 734 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# fly.toml app configuration file generated for rainfall on 2023-12-05T20:05:11-08:00
#
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
#
app = "rainfall"
primary_region = "sjc"
[build]
[processes]
app = "pipenv run gunicorn --error-logfile - --access-logfile - -b 0.0.0.0 rainfall.main:create_app()"
worker = "pipenv run python -m celery -A rainfall.main worker -l info"
[mounts]
source="rainfall_data"
destination="/data"
processes = ["worker"]
[http_service]
internal_port = 8000
force_https = true
auto_stop_machines = true
auto_start_machines = true
min_machines_running = 0
processes = ["app"]
[[vm]]
cpu_kind = "shared"
cpus = 2
memory_mb = 4096