Skip to content

Commit

Permalink
Update run.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
appatalks authored Jul 16, 2024
1 parent 9616e2e commit 57c7313
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docker/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ if [ ${PIPESTATUS[0]} -eq 0 ]; then
echo "Build succeeded. Logs are in build.log"

# Start the containers and log the output to run.log and stdout
docker-compose up --remove-orphans 2>&1 | tee logs/run.log
# docker-compose up --remove-orphans 2>&1 | tee logs/run.log # Pondering if I should keep --remove-orphans
docker-compose up 2>&1 | tee logs/run.log
docker logs -f docker_nginx_1 2>&1 | tee logs/nginx.log
docker logs -f docker_flask_1 2>&1 | tee logs/flask.log
else
Expand Down

0 comments on commit 57c7313

Please sign in to comment.