summaryrefslogtreecommitdiff
path: root/stacks/codex
diff options
context:
space:
mode:
authorRATDAD <lambda@disroot.org>2025-12-17 19:53:38 -0500
committerRATDAD <lambda@disroot.org>2025-12-17 19:53:38 -0500
commita50e5d21b0430a734929bc17017cc8c394b25524 (patch)
tree8a61bac5b36ca8725f3fdf64d30073b081c7d643 /stacks/codex
downloadrds-platform-a50e5d21b0430a734929bc17017cc8c394b25524.tar.gz
rds-platform-a50e5d21b0430a734929bc17017cc8c394b25524.tar.bz2
rds-platform-a50e5d21b0430a734929bc17017cc8c394b25524.zip
Initial Commit
Diffstat (limited to 'stacks/codex')
-rw-r--r--stacks/codex/.codex.env.template6
-rw-r--r--stacks/codex/.env.template13
-rw-r--r--stacks/codex/.gitignore3
-rw-r--r--stacks/codex/compose.yml26
4 files changed, 48 insertions, 0 deletions
diff --git a/stacks/codex/.codex.env.template b/stacks/codex/.codex.env.template
new file mode 100644
index 0000000..9f373a5
--- /dev/null
+++ b/stacks/codex/.codex.env.template
@@ -0,0 +1,6 @@
+#
+#
+# Stack Runtime Variables
+SB_USER=
+SB_NAME=
+SB_DESCRIPTION=
diff --git a/stacks/codex/.env.template b/stacks/codex/.env.template
new file mode 100644
index 0000000..fa0eaba
--- /dev/null
+++ b/stacks/codex/.env.template
@@ -0,0 +1,13 @@
+#
+#
+# Stack Compose Variables
+
+# Namespace
+_STACK=
+_CONTAINER=
+
+# Network
+_NET=
+
+# Volumes
+_DATA_VOLUME=
diff --git a/stacks/codex/.gitignore b/stacks/codex/.gitignore
new file mode 100644
index 0000000..b31db7b
--- /dev/null
+++ b/stacks/codex/.gitignore
@@ -0,0 +1,3 @@
+*.env
+space/
+space/**
diff --git a/stacks/codex/compose.yml b/stacks/codex/compose.yml
new file mode 100644
index 0000000..8e17e82
--- /dev/null
+++ b/stacks/codex/compose.yml
@@ -0,0 +1,26 @@
+name: ${_STACK}
+
+networks:
+ net:
+ name: ${_NET}
+ external: true
+
+volumes:
+ data:
+ name: ${_DATA_VOLUME}
+ external: true
+
+services:
+ silverbullet:
+ container_name: ${_CONTAINER}
+ image: ghcr.io/silverbulletmd/silverbullet
+ restart: unless-stopped
+ env_file:
+ - .env
+ - .codex.env
+ networks:
+ - net
+ expose:
+ - 3000
+ volumes:
+ - ${data:-./space/}:/space