fix: docker command

This commit is contained in:
2025-07-31 15:15:32 +02:00
parent c71553f6b0
commit 37d171caff

View File

@@ -3,14 +3,14 @@
INSTALLED=$1 INSTALLED=$1
if [[ "--install" == $INSTALLED ]]; then if [[ "--install" == $INSTALLED ]]; then
source /usr/local/bin/libs/common.sh source /usr/local/bin/libs/common.sh
info_print "\n\ info_print "\n\
==================================================\n\ ==================================================\n\
docker-compose Installation\n\ docker-compose Installation\n\
--------------------------------------------------" --------------------------------------------------"
if [[ -f "$ETC_DIR/docker-compose.yml" ]]; then if [[ -f "$ETC_DIR/docker-compose.yml" ]]; then
docker compose up -d -f $ETC_DIR/docker-compose.yml && \ docker compose -f "$ETC_DIR/docker-compose.yml" up -d && \
info_print "$ETC_DIR/docker-compose.yml is running." 2; info_print "$ETC_DIR/docker-compose.yml is running." 2;
else info_print "no docker-compose.yml found at $ETC_DIR" 6; else info_print "no docker-compose.yml found at $ETC_DIR" 6;