-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathfly.toml
More file actions
82 lines (75 loc) · 2 KB
/
Copy pathfly.toml
File metadata and controls
82 lines (75 loc) · 2 KB
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
70
71
72
73
74
75
76
77
78
79
80
81
82
app = "restarters"
primary_region = "lhr"
[build]
dockerfile = "Dockerfile.fly"
# Migrations run in startup.sh instead of release_command because
# release_command machines don't have 6PN network access to the DB.
[env]
APP_ENV = "production"
APP_DEBUG = "false"
APP_NAME = "Restarters"
APP_URL = "https://restarters.net"
DB_CONNECTION = "mysql"
DB_HOST = "restarters-db.internal"
DB_PORT = "3306"
DB_DATABASE = "restarters"
CACHE_DRIVER = "file"
SESSION_DRIVER = "database"
QUEUE_CONNECTION = "database"
SESSION_DOMAIN = ".restarters.net"
LOG_CHANNEL = "stderr"
FILESYSTEM_DISK = "s3"
AWS_DEFAULT_REGION = "auto"
AWS_ENDPOINT = "https://fly.storage.tigris.dev"
AWS_USE_PATH_STYLE_ENDPOINT = "true"
FEATURE__WIKI_INTEGRATION = "true"
FEATURE__DISCOURSE_INTEGRATION = "true"
WP_XMLRPC_ENDPOINT = "https://therestartproject.org/fxm.php"
SENTRY_ENVIRONMENT = "production"
# Table type constants
TBL_USERS = "1"
TBL_GROUPS = "2"
TBL_EVENTS = "3"
TBL_DEVICES = "4"
TBL_IMAGES = "5"
TBL_LINKS = "6"
# Device status constants
DEVICE_FIXED = "1"
DEVICE_REPAIRABLE = "2"
DEVICE_DEAD = "3"
# Category IDs
MISC_CATEGORY_ID = "46"
MISC_CATEGORY_ID_POWERED = "46"
MISC_CATEGORY_ID_UNPOWERED = "50"
# Impact calculation constants
DISPLACEMENT_VALUE = "0.5"
EMISSION_RATIO_UNPOWERED = "17.70147059"
EMISSION_RATIO_POWERED = "32.06679233"
# Session
SESSION_COOKIE = "restarters_session"
SESSION_LIFETIME = "10080"
SESSION_TABLE = "laravel_sessions"
# Misc
L5_SWAGGER_GENERATE_ALWAYS = "false"
VITE_MANIFEST_PATH = "public/build/manifest.json"
[http_service]
internal_port = 80
force_https = true
auto_stop_machines = "off"
auto_start_machines = true
min_machines_running = 1
[checks]
[checks.health]
port = 80
type = "http"
interval = "15s"
timeout = "10s"
grace_period = "120s"
method = "GET"
path = "/robots.txt"
[mounts]
source = "app_logs"
destination = "/var/log"
[[vm]]
size = "performance-2x"
memory = 4096