Skip to content

Commit

Permalink
Merge pull request #107 from kiloutyg/106-add-more-sleep-time-to-the-…
Browse files Browse the repository at this point in the history
…installation-and-updating-scripts

doubled the sleeps time install and update scripts
  • Loading branch information
kiloutyg authored Sep 5, 2024
2 parents afb25da + 6e96ab6 commit 3e73837
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions env_create.sh
Original file line number Diff line number Diff line change
Expand Up @@ -218,13 +218,13 @@ ${PROXY_ENV}
EOL


sg docker -c "docker compose up --build -d"
sg docker -c "docker compose up --build &"

sleep 90
sleep 180

sg docker -c "docker compose stop"

sleep 30
sleep 60

sed -i "s|^APP_ENV=dev.*|APP_ENV=prod|" .env
APP_CONTEXT="prod"
Expand Down
4 changes: 2 additions & 2 deletions env_update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -139,11 +139,11 @@ EOL

sg docker -c "docker compose up --build &"

sleep 90
sleep 180

sg docker -c "docker compose stop"

sleep 30
sleep 60

sed -i "s|^APP_ENV=dev.*|APP_ENV=prod|" .env
APP_CONTEXT="prod"
Expand Down

0 comments on commit 3e73837

Please sign in to comment.