aboutsummaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorXe Iaso <me@xeiaso.net>2024-03-30 12:48:08 -0400
committerXe Iaso <me@xeiaso.net>2024-03-30 12:48:08 -0400
commit2a7c5655c6cc1818ced9594192d0f1b2d5c0626e (patch)
tree88d6598788ce80bc39117ce83b186f632692a693 /cmd
parent0d01e3dc4b0b1cde1781a81e5671b8717301f07d (diff)
downloadx-2a7c5655c6cc1818ced9594192d0f1b2d5c0626e.tar.xz
x-2a7c5655c6cc1818ced9594192d0f1b2d5c0626e.zip
cmd/tourian: stage for deploy
Signed-off-by: Xe Iaso <me@xeiaso.net>
Diffstat (limited to 'cmd')
-rw-r--r--cmd/tourian/fly.toml22
-rw-r--r--cmd/tourian/static/index.html2
2 files changed, 23 insertions, 1 deletions
diff --git a/cmd/tourian/fly.toml b/cmd/tourian/fly.toml
new file mode 100644
index 0000000..33479b9
--- /dev/null
+++ b/cmd/tourian/fly.toml
@@ -0,0 +1,22 @@
+app = "tourian"
+kill_signal = "SIGINT"
+kill_timeout = "5s"
+
+[experimental]
+auto_rollback = true
+
+[build]
+image = "registry.fly.io/tourian:latest"
+
+[deploy]
+strategy = "immediate"
+
+[[services.ports]]
+port = 8080
+handlers = ["http"]
+force_https = true
+
+[[services.tcp_checks]]
+interval = "15s"
+timeout = "2s"
+grace_period = "1s"
diff --git a/cmd/tourian/static/index.html b/cmd/tourian/static/index.html
index ca21957..485539e 100644
--- a/cmd/tourian/static/index.html
+++ b/cmd/tourian/static/index.html
@@ -12,7 +12,7 @@
<script src="/static/js/ws.js"></script>
<!-- Open Graph meta tags for social media previews -->
- <meta property="og:title" content="ChatMimi" />
+ <meta property="og:title" content="ChatMimi: Fun and safe AI chatting!" />
<meta property="og:description" content="Chat with Mimi, the helpful AI catgirl from the Xe Iaso dot net cinematic universe!" />
<meta property="og:image" content="https://cdn.xeiaso.net/file/christine-static/shitpost/mimi-hime.jpg" />
</head>