mirror of
https://github.com/guezoloic/serverconfig.git
synced 2026-01-25 03:34:22 +00:00
fix: docker command
This commit is contained in:
@@ -10,7 +10,7 @@ if [[ "--install" == $INSTALLED ]]; 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;
|
||||
|
||||
else info_print "no docker-compose.yml found at $ETC_DIR" 6;
|
||||
|
||||
Reference in New Issue
Block a user