summaryrefslogtreecommitdiffstats
path: root/acid/cychedelic
diff options
context:
space:
mode:
authorMalfurious <m@lfurio.us>2023-08-18 12:40:45 -0400
committerMalfurious <m@lfurio.us>2023-08-18 13:45:53 -0400
commitd5c380f477f2913effd632cf58aff287062bf593 (patch)
tree1d23688844df4e4c71a7ce74b1ae3bb79b7a0ba6 /acid/cychedelic
parent6d503fa18f0f68c893d45fea2dc018f78c1ab02b (diff)
downloadcychedelic-d5c380f477f2913effd632cf58aff287062bf593.tar.gz
cychedelic-d5c380f477f2913effd632cf58aff287062bf593.zip
acid: Make docker compose YML file configurable
Facilitate deployments using alternate docker-compose.yml files, or projects which simply use a different filename for the configuration. This setting populates the `docker compose -f` option. Signed-off-by: Malfurious <m@lfurio.us>
Diffstat (limited to '')
-rwxr-xr-xacid/cychedelic6
1 files changed, 3 insertions, 3 deletions
diff --git a/acid/cychedelic b/acid/cychedelic
index 002fb98..4e26b99 100755
--- a/acid/cychedelic
+++ b/acid/cychedelic
@@ -21,11 +21,11 @@ update() {
selfopt="--self"
for line in "${CYCHE_SERVICES[@]}"; do
- hash=$(cyche-source $line)
+ read -r -a arr <<< "$line"
+ hash=$(cyche-source ${arr[@]:0:3})
if [ $? -ne 0 ] || [ "$1" == "$forceopt" ]; then
- read -r -a arr <<< "$line"
- cyche-build "${arr[0]}" "$hash" $selfopt
+ cyche-build "${arr[0]}" "${arr[3]}" "$hash" $selfopt
fi
forceopt="--force"