summaryrefslogtreecommitdiff
path: root/infra/services.toml
diff options
context:
space:
mode:
Diffstat (limited to 'infra/services.toml')
-rw-r--r--infra/services.toml12
1 files changed, 11 insertions, 1 deletions
diff --git a/infra/services.toml b/infra/services.toml
index f352d68..7fea853 100644
--- a/infra/services.toml
+++ b/infra/services.toml
@@ -33,7 +33,6 @@ health = ["curl", "--fail", "--silent", "--max-time", "3", "http://127.0.0.1:808
mounts = [
{ source = "var/data/repos", target = "/srv/git", read_only = true },
{ source = "@cgit", target = "/etc/cgitrc", read_only = true },
- { source = "infra/containers/cgit/license.lua", target = "/etc/cgit-license.lua", read_only = true },
]
tmpfs = ["/run", "/var/cache/cgit"]
@@ -46,3 +45,14 @@ mounts = [
{ source = "var/data/searxng", target = "/etc/searxng" },
]
tmpfs = ["/var/cache/searxng:mode=1777"]
+
+[services.chat]
+image = "localhost/stack-chat:0.1.0"
+build = "bin/chat"
+drop_capabilities = true
+read_only = true
+health = ["/app/bin/server", "--root", "/app", "--proxy", "--healthcheck"]
+environment = ["CHAT_SETUP_TOKEN"]
+mounts = [
+ { source = "@chat", target = "/app/var/data/chat" },
+]