Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: fix renouvellement des certificats #26

Merged
merged 1 commit into from
Dec 31, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,17 @@ start_reverse_proxy() {
}

stop_reverse_proxy() {
bash /opt/accompagnateur/stop-app.sh accompagnateur_pro_reverse_proxy --no-deps reverse_proxy
bash /opt/accompagnateur/stop-app.sh accompagnateur_reverse_proxy --no-deps reverse_proxy
}

renew_certificate() {
cd "${SCRIPT_DIR}"
docker build --tag accompagnateur_pro_certbot certbot/
docker run --rm --name accompagnateur_pro_certbot \
docker build --tag accompagnateur_certbot certbot/
docker run --rm --name accompagnateur_certbot \
-p 80:5000 \
-v /opt/accompagnateur/data/certbot:/etc/letsencrypt \
-v /opt/accompagnateur/data/ssl:/ssl \
accompagnateur_pro_certbot renew "${DNS_NAMES[@]}"
accompagnateur_certbot renew "${DNS_NAMES[@]}"
cd -
}

Expand Down
Loading