From 156f159e6c2b8c5fc60ab343ac68b6349f13bb90 Mon Sep 17 00:00:00 2001 From: RATDAD Date: Sun, 15 Feb 2026 16:38:56 -0500 Subject: Updated CGit container template --- stacks/cgit/.cgit.env.template | 7 ------- stacks/cgit/.env.template | 13 +++++++------ stacks/cgit/.gitignore | 2 +- stacks/cgit/.run.template | 7 +++++++ stacks/cgit/compose.yml | 8 ++++---- 5 files changed, 19 insertions(+), 18 deletions(-) delete mode 100644 stacks/cgit/.cgit.env.template create mode 100644 stacks/cgit/.run.template 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 -- cgit v1.2.3-70-g09d2