-
Notifications
You must be signed in to change notification settings - Fork 0
/
fly.toml
30 lines (26 loc) · 877 Bytes
/
fly.toml
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
# fly.toml app configuration file generated for linebot-subsidy-fastapi on 2023-07-04T13:21:21+08:00
#
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
#
app = replace_APP_HOST
primary_region = "nrt"
[build]
image = 'ghcr.io/fionn88/linebot-subsidy-fastapi:latest'
[env]
DB_HOST = replace_DB_HOST
DB_PASSWORD = replace_DB_PASSWORD
DB_PORT = replace_DB_PORT
DB_SCHEMA = replace_DB_SCHEMA
DB_TABLE = replace_DB_TABLE
DB_USER = replace_DB_USER
LINE_CHANNEL_ACCESS_TOKEN = replace_LINE_CHANNEL_ACCESS_TOKEN
LINE_CHANNEL_SECRET = replace_LINE_CHANNEL_SECRET
PORT = replace_PORT
TEAM_EMAIL = replace_TEAM_EMAIL
[http_service]
internal_port = replace_PORT
force_https = true
auto_stop_machines = true
auto_start_machines = true
min_machines_running = replace_MIN_MACHINES_RUNNING
processes = ["app"]