diff options
author | Malfurious <m@lfurio.us> | 2023-08-18 12:40:45 -0400 |
---|---|---|
committer | Malfurious <m@lfurio.us> | 2023-08-18 13:45:53 -0400 |
commit | d5c380f477f2913effd632cf58aff287062bf593 (patch) | |
tree | 1d23688844df4e4c71a7ce74b1ae3bb79b7a0ba6 /acid/cychedelic | |
parent | 6d503fa18f0f68c893d45fea2dc018f78c1ab02b (diff) | |
download | cychedelic-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-x | acid/cychedelic | 6 |
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" |