-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfly.toml.example
More file actions
35 lines (29 loc) · 900 Bytes
/
fly.toml.example
File metadata and controls
35 lines (29 loc) · 900 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
32
33
34
35
# Fly.io Configuration Template
# Copy this file to fly.toml and update the values below.
#
# Quick setup:
# cp fly.toml.example fly.toml
# # Edit app name and region below
# fly apps create <your-app-name>
# fly deploy
# REQUIRED: Change this to your unique app name
app = "my-fitness-coach"
# REQUIRED: Change to your nearest Fly.io region
# Common regions: ewr (New York), lax (LA), lhr (London), sin (Singapore)
# Full list: https://fly.io/docs/reference/regions/
primary_region = "ewr"
[build]
[http_service]
internal_port = 8080
force_https = true
# Keep machine running 24/7 for instant responses and reliable cron jobs.
# Cost: ~$5-7/month. Set to true to reduce costs (adds cold-start latency).
auto_stop_machines = false
auto_start_machines = true
min_machines_running = 1
[env]
NODE_ENV = "production"
[[vm]]
memory = "1gb"
cpu_kind = "shared"
cpus = 1