Skip to content

Releases: JonasAlfredsson/docker-nginx-certbot

v2.0.0

03 May 18:29
Compare
Choose a tag to compare
  • Big change on how we recommend users to get their .conf files into the container.
  • Examples are updated to reflect changes.
  • Add more logging.
  • Add more " around variables for extra safety.
  • Big overhaul of how the documentation is structured.
  • Even more tags now available on Docker Hub!

v1.3.0

28 Apr 15:07
Compare
Choose a tag to compare
  • Ignore values starting with data: and engine: when verifying that all files exists (pull request 32).
  • Add a debug mode which is enabled by setting the environment variable DEBUG=1.

v1.2.0

31 Mar 14:08
Compare
Choose a tag to compare
  • Fix dependencies so that it is possible to build in 32-bit ARM architectures (issue #24).
  • Added GitHub Actions/Worflows so that each tag now is built for multiple arches (issue #28).

v1.1.0

15 Mar 10:44
Compare
Choose a tag to compare

v1.0.0

02 Mar 16:07
Compare
Choose a tag to compare
  • Move over to semantic versioning.
    • The version number will now be given like this: [MAJOR].[MINOR].[PATCH]
    • This is done to signify that I feel like this code is stable, since I have
      been running this for quite a while.
  • Build from a defined version of Nginx.
    • This is done to facilitate a way to lock this container to a more specific
      version.
    • This also allows us to more often trigger rebuilds of this container on
      Dockerhub.
  • New tags are available on Dockerhub.
    • There will now be tags on the following form:
      • latest
      • 1.0.0
      • 1.0.0-nginx1.19.7

v0.16

03 Jan 18:47
Compare
Choose a tag to compare
  • Container now listens to SIGHUP and will reload all configs if this signal is received.
    • More details can be found in the commit message: bf2c135
  • Made Docker image slightly smaller by including --no-install-recommends.
  • There is now also a dev branch/tag if you are brave and want to run
    experimental builds.
  • JonasAlfredsson/docker-nginx-certbot is now its own independent repository
    (i.e. no longer just a fork).

v0.15

17 Dec 19:19
Compare
Choose a tag to compare
  • It is now possible to manually trigger a renewal of certificates.
    • It is also possible to include "force" to add --force-renewal to the request.
  • The "clean exit" trap now handle that parent container changed to SIGQUIT as stop signal.
  • The "certbot" server block (in Nginx) now prints to stdout by default.
  • Massive refactoring of both code and files:
    • Our "start command" file is now called start_nginx_certbot.sh instead of entrypoint.sh.
    • Both create_dhparams.sh and run_certbot.sh can now be run by themselves inside the container.
    • I have added set -e in most of the files so the program exit as intended when unexpected errors occurs.
    • Added {} and "" around most of the bash variables.
    • Change some log messages and where they appear.
  • Our /scripts/startup/ folder has been removed.

v0.14

07 Mar 20:29
Compare
Choose a tag to compare
  • Made so that the container now exits gracefully and reports the correct exit code.
    • More details can be found in the commit message: 43dde6e
  • Bash script now correctly monitors both the Nginx and the certbot renewal process PIDs.
    • If either one of these processes dies, the container will exit with the same exit code as that process.
    • This will also trigger a graceful exit for the rest of the processes.
  • Removed unnecessary and empty ENTRYPOINT from Dockerfile.
  • A lot of refactoring of the code, cosmetic changes and editing of comments.

v0.13

05 Mar 22:38
Compare
Choose a tag to compare
  • Fixed the regex used in all of the sed commands.
    • Now makes sure that the proper amount of spaces are present in the right places.
    • Now allows comments at the end of the lines in the configs. # Nice!
    • Made the expression a little bit more readable thanks to the -r flag.
  • Now made certbot solely responsible for checking if the certificates needs to be renewed.
    • Certbot is actually smart enough to not send any renewal requests if it doesn't have to.
  • The time interval used to trigger the certbot renewal check is now user configurable.
    • The environmental variable to use is RENEWAL_INTERVAL.

v0.12

04 Mar 20:12
Compare
Choose a tag to compare
  • Added --cert-name flag to the certbot certificate request command.
    • This allows for both adding and subtracting domains to the same certificate file.
    • Makes it possible to have path names that are not domain names (but this is not allowed yet).
  • Made the file parsing functions smarter so they only find unique file paths.
  • Cleaned up some log output.
  • Updated the docker-compose example.
  • Fixed some spelling in the documentation.