Skip to content

Commit

Permalink
let docker exec print its output
Browse files Browse the repository at this point in the history
  • Loading branch information
m5r committed Jul 4, 2024
1 parent 5a881f6 commit d68e2fb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/docker-helper-4.x/cht-docker-compose.sh
Original file line number Diff line number Diff line change
Expand Up @@ -458,9 +458,9 @@ while [[ "$running" != "true" ]]; do
running=$(is_nginx_running "$nginxContainerId")
done

docker exec "$nginxContainerId" bash -c "curl -s -o /etc/nginx/private/cert.pem https://local-ip.medicmobile.org/fullchain" 2>/dev/null
docker exec "$nginxContainerId" bash -c "curl -s -o /etc/nginx/private/key.pem https://local-ip.medicmobile.org/key" 2>/dev/null
docker exec "$nginxContainerId" bash -c "nginx -s reload" 2>/dev/null
docker exec "$nginxContainerId" bash -c "curl -s -o /etc/nginx/private/cert.pem https://local-ip.medicmobile.org/fullchain"
docker exec "$nginxContainerId" bash -c "curl -s -o /etc/nginx/private/key.pem https://local-ip.medicmobile.org/key"
docker exec "$nginxContainerId" bash -c "nginx -s reload"

echo ""
echo ""
Expand Down

0 comments on commit d68e2fb

Please sign in to comment.