-
Notifications
You must be signed in to change notification settings - Fork 0
/
fly.staging.toml
69 lines (63 loc) · 1.71 KB
/
fly.staging.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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
app = 'penny-staging'
primary_region = 'ams'
swap_size_mb = 256
[build]
image = 'registry.fly.io/penny-staging:latest'
[deploy]
release_command = 'bin/cli db.migrate'
[processes]
app = 'bin/app'
worker_1 = 'bin/worker 1'
[http_service]
processes = ['app']
internal_port = 5000
force_https = true
auto_stop_machines = true
auto_start_machines = true
min_machines_running = 0
[env]
ASSETS_HOST = ''
BEARER_LOGIN_EXPIRY = '7776000' # 3 months
EMAIL_FROM = 'noreply@my-app.tld'
EMAIL_REPLY_TO = 'support@my-app.tld'
GZIP_ENABLED = 'false'
JOBS_BATCH_SIZE = '-1'
JOBS_POLL_INTERVAL = '30'
KEEP_BEARER_LOGINS_DAYS = '90'
KEEP_EMAIL_CONFIRMATIONS_DAYS = '90'
KEEP_LOGINS_DAYS = '90'
KEEP_PASSWORD_RESETS_DAYS = '90'
EMAIL_CONFIRMATION_EXPIRY = '3600' # 1 hour
FAVICON_URL = '/favicon.ico'
LOGIN_EXPIRY = '86400' # 1 day
LOGIN_IDLE_TIMEOUT = '1800' # 30 minutes
LOGO_URL = '/logo.png'
MAKE_FIRST_USER_ADMIN = 'false'
NAME = 'Penny (staging)'
PASSWORD_MIN_LENGTH = '4'
PASSWORD_REQUIRE_LOWERCASE = 'false'
PASSWORD_REQUIRE_NUMBER = 'false'
PASSWORD_REQUIRE_SPECIAL_CHAR = 'false'
PASSWORD_REQUIRE_UPPERCASE = 'false'
PASSWORD_RESET_EXPIRY = '1800' # 30 minutes
SEND_GRID_KEY = 'unused'
SERVER_HOST = 'fly-local-6pn'
SERVER_PORT = '5000'
SESSION_KEY = '_penny-staging-session'
SKIP_LOAD_ENV = 'true'
SKIP_LOG_REGEX = 'password|secret|token'
SMTP_HOST = 'smtp.domain.tld'
SMTP_PORT = '587'
SSL_ENABLED = 'false'
TIMEZONE = 'Africa/Accra'
URL = 'https://penny-staging.fly.dev'
WORKER_ID = '0'
# Secrets
#
# Listed for documentation purposes
# Do NOT set them here!
#
# DATABASE_URL = ''
# REDIS_URL = ''
# SECRET_KEY_BASE = ''
# SMTP_PASSWORD = ''