Skip to content

Commit

Permalink
Merge pull request #29 from KiraCore/feature/deploy
Browse files Browse the repository at this point in the history
fix: switch deploy to compose
  • Loading branch information
MrLutik authored Jun 2, 2024
2 parents 9599ca6 + 5d5a7bb commit 0359656
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions scripts/bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,8 @@ download_compose_and_change_owner(){
local max_attempts=5
local attempt=1

sudo -u km mkdir -p $SEKIN_DIR

while [ $attempt -le $max_attempts ]; do
echo "Attempt $attempt: Downloading compose.yml from ${COMPOSE_URL}..."
curl -o "${COMPOSE_PATH}" "${COMPOSE_URL}"
Expand Down Expand Up @@ -224,8 +226,8 @@ main() {
install_docker_compose
add_user_km
add_km_to_docker_group
# download_compose_and_change_owner
clone_repo_as_km
download_compose_and_change_owner
# clone_repo_as_km
run_docker_compose_as_km
}

Expand Down

0 comments on commit 0359656

Please sign in to comment.