forked from mrwyndham/fastpocket
38 lines
992 B
TOML
38 lines
992 B
TOML
# fly.toml app configuration file generated for fastpocket on 2024-02-19T15:49:52+08:00
|
|
#
|
|
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
|
|
#
|
|
|
|
app = 'fastpocket'
|
|
primary_region = 'syd'
|
|
|
|
[build]
|
|
|
|
[env]
|
|
DEVELOPMENT = ''
|
|
HOST = 'fastpocket.fly.dev'
|
|
PORT = '8090'
|
|
STRIPE_SUCCESS_URL = 'https://www.fastpocket.dev/account'
|
|
STRIPE_CANCEL_URL = 'https://www.fastpocket.dev/pricing'
|
|
STRIPE_BILLING_RETURN_URL = 'https://www.fastpocket.dev/account'
|
|
STRIPE_WHSEC = 'whsec_3CwRHq3in97luW9zKAsVvmy2MUfib6vT'
|
|
# requires STRIPE_SECRET_KEY = '{sk_live_...}' to be setup as a secret
|
|
# see: https://fly.io/docs/reference/secrets/#setting-secrets
|
|
|
|
[[mounts]]
|
|
source = 'data_fastpocket'
|
|
destination = '/app/bin/pb_data'
|
|
|
|
[http_service]
|
|
internal_port = 8090
|
|
force_https = true
|
|
auto_stop_machines = true
|
|
auto_start_machines = true
|
|
min_machines_running = 0
|
|
processes = ['app']
|
|
|
|
[[vm]]
|
|
memory = '1gb'
|
|
cpu_kind = 'shared'
|
|
cpus = 1
|