summaryrefslogtreecommitdiffstats
path: root/acid
diff options
context:
space:
mode:
authorMalfurious <m@lfurio.us>2023-08-09 17:10:02 -0400
committerMalfurious <m@lfurio.us>2023-08-09 17:10:02 -0400
commite8c0021c3041c56c6b7cdc3a041417de0c70d3f2 (patch)
tree76b711bc5d314737c2aab3eed49b1f3b22a9967c /acid
parentf82863941f2a2835898dbb7bc47d27c2e783b744 (diff)
downloadcychedelic-e8c0021c3041c56c6b7cdc3a041417de0c70d3f2.tar.gz
cychedelic-e8c0021c3041c56c6b7cdc3a041417de0c70d3f2.zip
acid: Add configuration template
Signed-off-by: Malfurious <m@lfurio.us>
Diffstat (limited to 'acid')
-rw-r--r--acid/config.sh31
1 files changed, 31 insertions, 0 deletions
diff --git a/acid/config.sh b/acid/config.sh
new file mode 100644
index 0000000..d3dcee6
--- /dev/null
+++ b/acid/config.sh
@@ -0,0 +1,31 @@
+# Minimum time to wait between periodic service rebuilds / maintenance tasks
+CYCHE_MAINT_TIME=604800 # 1 week
+
+# Minimum time to wait between polling sources for updates
+CYCHE_POLL_TIME=600 # 10 minutes
+
+# Minimum time to wait on daemon startup
+CYCHE_STARTUP_TIME=60 # 1 minute
+
+# Master list of managed services
+CYCHE_SERVICES=(
+ # <ref-pattern> should be a string suitable for `git for-each-ref`. Some
+ # basic use-cases might be to:
+ #
+ # Deploy from Use
+ # -------------------------------------------------------------
+ # A branch refs/remotes/origin/<branch-name>
+ # A tag (static) refs/tags/<tag-name>
+ # Latest tag refs/tags
+ # Latest tag matching glob refs/tags/<shell-*-wildcard>
+ #
+ # <name> is arbitrary, but must be unique. It is used to name various
+ # docker entities and must contain only "a-z", dashes, or underscores.
+
+ # The source used to fetch updates for cychedelic itself should be the first
+ # in the list. As just mentioned, it can be named anything, but "cychedelic"
+ # is conventional.
+
+ # <name> <url> <ref-pattern>
+ 'cychedelic https://your/cyche/source.git refs/remotes/origin/master'
+)