Releases: JonasAlfredsson/docker-nginx-certbot
Releases · JonasAlfredsson/docker-nginx-certbot
v2.0.0
- Big change on how we recommend users to get their
.conf
files into the container.- Created a script that creates symlinks from
conf.d/
to the files inuser_conf.d/
. - Users can now start the container without having to build anything.
- Still compatible with the old way, but I still think it's a "major" change.
- Created a script that creates symlinks from
- 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!
- See dockerhub_tags.md for the list.
v1.3.0
- Ignore values starting with
data:
andengine:
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
v1.1.0
- Fix that scripts inside
/docker-entryoint.d/
were never run (issue #21). - Fix for issue where the script failed in case the
/etc/letsencrypt/dhparams
folder was missing (issue #20).
v1.0.0
- 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.
- The version number will now be given like this:
- 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.
- This is done to facilitate a way to lock this container to a more specific
- 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
- There will now be tags on the following form:
v0.16
- 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
- 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.
- It is also possible to include "force" to add
- 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 ofentrypoint.sh
. - Both
create_dhparams.sh
andrun_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 "start command" file is now called
- Our
/scripts/startup/
folder has been removed.- The parent container will run any
*.sh
file found inside the/docker-entryoint.d/
folder.
- The parent container will run any
v0.14
- 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
- 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
.
- The environmental variable to use is
v0.12
- 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.