summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRATDAD <lambda@disroot.org>2026-02-15 16:38:56 -0500
committerRATDAD <lambda@disroot.org>2026-02-15 16:38:56 -0500
commit156f159e6c2b8c5fc60ab343ac68b6349f13bb90 (patch)
tree995355b952d8fb146e34c4fdf413f0f864b572b7
parent8dfc8f8eac20b2a715bb715b9e670aef6cb27b8c (diff)
downloadrd-cloud-156f159e6c2b8c5fc60ab343ac68b6349f13bb90.tar.gz
rd-cloud-156f159e6c2b8c5fc60ab343ac68b6349f13bb90.tar.bz2
rd-cloud-156f159e6c2b8c5fc60ab343ac68b6349f13bb90.zip
Updated CGit container template
-rw-r--r--stacks/cgit/.cgit.env.template7
-rw-r--r--stacks/cgit/.env.template13
-rw-r--r--stacks/cgit/.gitignore2
-rw-r--r--stacks/cgit/.run.template7
-rw-r--r--stacks/cgit/compose.yml8
5 files changed, 19 insertions, 18 deletions
diff --git a/stacks/cgit/.cgit.env.template b/stacks/cgit/.cgit.env.template
deleted file mode 100644
index a50b83f..0000000
--- a/stacks/cgit/.cgit.env.template
+++ /dev/null
@@ -1,7 +0,0 @@
-#
-#
-# Stack Runtime Variables
-# HTTP_AUTH_USER=
-# HTTP_AUTH_PASSWORD=
-# GIT_HTTP_AUTH_USER=
-# GIT_HTTP_AUTH_PASSWORD=
diff --git a/stacks/cgit/.env.template b/stacks/cgit/.env.template
index 663c8c5..c461361 100644
--- a/stacks/cgit/.env.template
+++ b/stacks/cgit/.env.template
@@ -2,15 +2,16 @@
#
# Stack Compose Variables
-# Namespace
-_STACK=
-_CONTAINER=
+# Namespaces
+_STACK_0=
-# Network
-_NET=
+# Containers
+_CONTAINER_0=
+
+# Networks
+_NET_0=
# Volumes
-# TODO: Make these cgit-docker builtins.
_CSS_FILE=
_CONFIG_FILE=
_GIT_ROOT=
diff --git a/stacks/cgit/.gitignore b/stacks/cgit/.gitignore
index 9cc0f59..4c28985 100644
--- a/stacks/cgit/.gitignore
+++ b/stacks/cgit/.gitignore
@@ -6,4 +6,4 @@ opt/
opt/*
etc/
etc/*
-compose.local.yml
+compose.test.yml
diff --git a/stacks/cgit/.run.template b/stacks/cgit/.run.template
new file mode 100644
index 0000000..cd5eebc
--- /dev/null
+++ b/stacks/cgit/.run.template
@@ -0,0 +1,7 @@
+#
+#
+# Stack Runtime Variables
+HTTP_AUTH_USER=
+HTTP_AUTH_PASSWORD=
+GIT_HTTP_AUTH_USER=
+GIT_HTTP_AUTH_PASSWORD=
diff --git a/stacks/cgit/compose.yml b/stacks/cgit/compose.yml
index cf21261..b40dbaf 100644
--- a/stacks/cgit/compose.yml
+++ b/stacks/cgit/compose.yml
@@ -1,16 +1,16 @@
-name: ${_STACK}
+name: ${_STACK_0}
networks:
net:
- name: ${_NET}
+ name: ${_NET_0}
external: true
services:
cgit:
- container_name: ${_CONTAINER}
+ container_name: ${_CONTAINER_0}
image: ratdad/cgit:latest
env_file:
- - .cgit.env
+ - .run.env
- .env
networks:
- net