-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfly.toml
39 lines (33 loc) · 2.13 KB
/
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
31
32
33
34
35
36
37
38
39
# fly.toml app configuration file generated for illyan on 2023-09-15T09:00:49-07:00
#
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
#
app = "illyan"
primary_region = "iad"
swap = 512
[build]
image = "ghcr.io/nbudin/illyan:latest"
[deploy]
release_command = "bundle exec rake db:migrate"
strategy = "rolling"
[env]
ILLYAN_ACCOUNT_NAME = "Sugar Pond account"
ILLYAN_EXTRA_LOGIN_PAGE_HTML = "<script type=\"text/javascript\">\n $(function() {\n $(\"#account-explanation\").hide();\n $(\"#show-account-explanation\").click(function(e) { e.preventDefault(); $(\"#show-account-explanation\").hide(); $(\"#account-explanation\").show() });\n });\n </script>\n <div style=\"background-color: rgba(255,255,255,0.3); border: 2px white solid; border-radius: 5px; padding: 5px; margin-bottom: 1em;\">\n <a href=\"#\" id=\"show-account-explanation\">What's a Sugar Pond account?</a>\n <div id=\"account-explanation\">\n <p>Sugar Pond accounts are shared between several web apps and convention web sites, including:</p>\n <ul style=\"padding-left: 0; margin-left: 0;\">\n <li style=\"display: inline-block; margin-right: 2em;\">• Journey</li>\n <li style=\"display: inline-block; margin-right: 2em;\">• Vellum</li>\n <li style=\"display: inline-block; margin-right: 2em;\">• Festival of the LARPs</li>\n <li style=\"display: inline-block; margin-right: 2em;\">• SLAW</li>\n <li style=\"display: inline-block; margin-right: 2em;\">• Dice Bubble and Time Bubble</li>\n </ul>\n <p>If you've signed up for any of them, you can use the same password here.</p>\n </div>\n </div>"
ILLYAN_SITE_LOGO = "account-central.png"
ILLYAN_SITE_TITLE = "Sugar Pond Account Central"
ILLYAN_THEME = "account-central"
PORT = "3000"
RAILS_LOG_TO_STDOUT = "1"
RAILS_SERVE_STATIC_FILES = "1"
[http_service]
auto_start_machines = true
auto_stop_machines = true
force_https = true
internal_port = 3000
min_machines_running = 1
[[http_service.checks]]
grace_period = "3s"
interval = "30s"
method = "GET"
path = "/"
timeout = "5s"