-
Notifications
You must be signed in to change notification settings - Fork 47
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
fix on ssl certs auto-renew [issue #24] #27
Conversation
@Dophy6 thanks for creating this! I'll test and review as soon as I can. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for submitting this PR, and sorry for delay to review it!
I was able to test this on one of my servers, and this seems to be working like a charm. Great investigation work!
Requesting a few changes regarding formatting, and I think this will be good to go 🎉
@@ -2,7 +2,8 @@ | |||
FROM nginx:1.19-alpine | |||
|
|||
# Install certbot for letsencrypt certificates | |||
RUN apk add --no-cache certbot | |||
# Install also an init handler for alpine cron | |||
RUN apk add --no-cache certbot openrc busybox-initscripts |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for adding this!
Co-authored-by: Matthieu Petiteau <matt@smallwat3r.com>
Co-authored-by: Matthieu Petiteau <matt@smallwat3r.com>
Hi @smallwat3r I accepted all your suggestions, hoping this will help the community, have a nice day! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, thanks @Dophy6!
Closes: #24
There was a blocking call to nginx in entrypoint.sh file before the execution of
crond -f
. Also there were some missing packages to make alpine crons work in Dockerfile.