Skip to content

Commit

Permalink
Bring up compose project after checking for existing instance
Browse files Browse the repository at this point in the history
  • Loading branch information
caffeinatedpixel committed Jul 30, 2024
1 parent 0ce0c79 commit 10c186e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions rita.sh
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,6 @@ COMPOSE_FILE="$(dirname "$ENV_FILE")/docker-compose.yml"
# Ensure that the docker-compose file exists
[ -f "$COMPOSE_FILE" ] || { echo "Docker compose file not found at '$COMPOSE_FILE'"; exit 1; }

$SUDO docker compose -f $COMPOSE_FILE up -d


IS_HELP="false"

Expand Down Expand Up @@ -192,6 +190,9 @@ if [[ "$IS_IMPORT_COMMAND" = true && "$IS_HELP" == false ]]; then
fi
fi

# bring up db and syslog
$SUDO docker compose -f $COMPOSE_FILE up -d

# Print out the final arguments and exit for debugging
#echo "DOCKER_ARGS: ${DOCKER_ARGS[@]}"; echo "RITA_ARGS: ${RITA_ARGS[@]}"; exit # debug

Expand Down

0 comments on commit 10c186e

Please sign in to comment.