Skip to content

Commit

Permalink
Fly.io rework
Browse files Browse the repository at this point in the history
Using a web terminal and secrets
  • Loading branch information
psonnera committed Jul 3, 2023
1 parent f7b27e6 commit 6334232
Show file tree
Hide file tree
Showing 29 changed files with 705 additions and 318 deletions.
2 changes: 1 addition & 1 deletion docs/_static/fly.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#

#---------------------------------------------------------------------------------
# CHange the app value to your site name. (i.e. sitename to have sitename.fly.io
# Change the app value to your site name. (i.e. sitename to have sitename.fly.io
#---------------------------------------------------------------------------------
app = "CHANGE ME TO YOUR SITE NAME!"
kill_signal = "SIGINT"
Expand Down
37 changes: 37 additions & 0 deletions docs/_static/flyboot.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
#!/bin/bash
######################################################################################################
#
# Nightscout in Fly.io Scripted Deployment
#
######################################################################################################
git clone https://github.com/nightscout/cgm-remote-monitor;cd cgm-remote-monitor;cat > fly.toml << "EOF"
app = "nightscout"
kill_signal = "SIGINT"
kill_timeout = 5
processes = []
[experimental]
allowed_public_ports = []
auto_rollback = true
[[services]]
http_checks = []
internal_port = 1337
processes = ["app"]
protocol = "tcp"
script_checks = []
[services.concurrency]
hard_limit = 25
soft_limit = 20
type = "connections"
[[services.ports]]
force_https = true
handlers = ["http"]
port = 80
[[services.ports]]
handlers = ["tls", "http"]
port = 443
[[services.tcp_checks]]
grace_period = "1s"
interval = "15s"
restart_limit = 0
timeout = "2s"
EOF
166 changes: 166 additions & 0 deletions docs/_static/sitemap.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,166 @@
<?xml version="1.0" encoding="utf-8"?>
<!--Generated by Visual SEO Studio 2.5.3.1 - Date: 2023-07-01 - Pages: 54-->
<urlset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd" xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://nightscout.github.io/</loc>
</url>
<url>
<loc>https://nightscout.github.io/uploader/uploaders/</loc>
</url>
<url>
<loc>https://nightscout.github.io/nightscout/new_user/</loc>
</url>
<url>
<loc>https://nightscout.github.io/nightscout/wizard/</loc>
</url>
<url>
<loc>https://nightscout.github.io/nightscout/database/</loc>
</url>
<url>
<loc>https://nightscout.github.io/vendors/mongodb/atlas/</loc>
</url>
<url>
<loc>https://nightscout.github.io/vendors/railway/database/</loc>
</url>
<url>
<loc>https://nightscout.github.io/nightscout/platform/</loc>
</url>
<url>
<loc>https://nightscout.github.io/vendors/northflank/database/</loc>
</url>
<url>
<loc>https://nightscout.github.io/vendors/azure/new_user/</loc>
</url>
<url>
<loc>https://nightscout.github.io/vendors/northflank/new_user/</loc>
</url>
<url>
<loc>https://nightscout.github.io/vendors/render/new_user/</loc>
</url>
<url>
<loc>https://nightscout.github.io/vendors/railway/new_user/</loc>
</url>
<url>
<loc>https://nightscout.github.io/vendors/fly.io/new_user/</loc>
</url>
<url>
<loc>https://nightscout.github.io/vendors/heroku/new_user/</loc>
</url>
<url>
<loc>https://nightscout.github.io/nightscout/profile_editor/</loc>
</url>
<url>
<loc>https://nightscout.github.io/uploader/setup/</loc>
</url>
<url>
<loc>https://nightscout.github.io/nightscout/wearable/</loc>
</url>
<url>
<loc>https://nightscout.github.io/nightscout/downloaders/</loc>
</url>
<url>
<loc>https://nightscout.github.io/uploader/xdripcarelink/</loc>
</url>
<url>
<loc>https://nightscout.github.io/nightscout/setup_variables/</loc>
</url>
<url>
<loc>https://nightscout.github.io/troubleshoot/dexcom_bridge/</loc>
</url>
<url>
<loc>https://nightscout.github.io/nightscout/discover/</loc>
</url>
<url>
<loc>https://nightscout.github.io/nightscout/reports/</loc>
</url>
<url>
<loc>https://nightscout.github.io/nightscout/security/</loc>
</url>
<url>
<loc>https://nightscout.github.io/nightscout/admin_tools/</loc>
</url>
<url>
<loc>https://nightscout.github.io/nightscout/close_loop/</loc>
</url>
<url>
<loc>https://nightscout.github.io/nightscout/ifttt/</loc>
</url>
<url>
<loc>https://nightscout.github.io/nightscout/pushover/</loc>
</url>
<url>
<loc>https://nightscout.github.io/update/update/</loc>
</url>
<url>
<loc>https://nightscout.github.io/troubleshoot/troubleshoot/</loc>
</url>
<url>
<loc>https://nightscout.github.io/update/downgrade/</loc>
</url>
<url>
<loc>https://nightscout.github.io/update/dev_branch/</loc>
</url>
<url>
<loc>https://nightscout.github.io/nightscout/advanced/</loc>
</url>
<url>
<loc>https://nightscout.github.io/vendors/VPS/ubuntu/</loc>
</url>
<url>
<loc>https://nightscout.github.io/vendors/VPS/docker/</loc>
</url>
<url>
<loc>https://nightscout.github.io/vendors/NAS/synology/</loc>
</url>
<url>
<loc>https://nightscout.github.io/vendors/github/update/</loc>
</url>
<url>
<loc>https://nightscout.github.io/nightscout/multiadmin/</loc>
</url>
<url>
<loc>https://nightscout.github.io/troubleshoot/github/</loc>
</url>
<url>
<loc>https://nightscout.github.io/update/redeploy/</loc>
</url>
<url>
<loc>https://nightscout.github.io/troubleshoot/azure/</loc>
</url>
<url>
<loc>https://nightscout.github.io/troubleshoot/atlas/</loc>
</url>
<url>
<loc>https://nightscout.github.io/vendors/heroku/migrate/</loc>
</url>
<url>
<loc>https://nightscout.github.io/troubleshoot/heroku/</loc>
</url>
<url>
<loc>https://nightscout.github.io/vendors/heroku/ecoplan/</loc>
</url>
<url>
<loc>https://nightscout.github.io/vendors/heroku/hobbyplan/</loc>
</url>
<url>
<loc>https://nightscout.github.io/update/upd_stack/</loc>
</url>
<url>
<loc>https://nightscout.github.io/vendors/heroku/mfa/</loc>
</url>
<url>
<loc>https://nightscout.github.io/troubleshoot/fly.io/</loc>
</url>
<url>
<loc>https://nightscout.github.io/troubleshoot/railway/</loc>
</url>
<url>
<loc>https://nightscout.github.io/troubleshoot/render/</loc>
</url>
<url>
<loc>https://nightscout.github.io/translate/</loc>
</url>
<url>
<loc>https://nightscout.github.io/nightscout/dns/</loc>
</url>
</urlset>
Loading

0 comments on commit 6334232

Please sign in to comment.