From b9ac791acab90037955d180876b80ca5c412adbe Mon Sep 17 00:00:00 2001 From: Ryan Rogers Date: Wed, 18 Sep 2024 09:50:10 -0700 Subject: [PATCH] Update documentation for Docker Updated the documentation that talks about Docker to also mention some of the config file options that have been added. --- README.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/README.md b/README.md index 45bd628..01ec4bb 100644 --- a/README.md +++ b/README.md @@ -64,6 +64,26 @@ services: - 9443/tcp volumes: - ./config:/config:rw + # Optionally store the generated certificate data on a persistent volume + # - ./cert-data:/cert-data:rw +``` + +Note that if you want to store the generated certificate data on a persistant volume, you should add something like the following to your `acmeproxy.pl.conf` file: +```perl +# Extra params to pass when invoking acme.sh --install +acmesh_extra_params_install => [ + '--config-home /cert-data', +], + +# Extra params to pass when invoking acme.sh --install-cert +acmesh_extra_params_install_cert => [ + '--config-home /cert-data', +], + +# Extra params to pass when invoking acme.sh --issue +acmesh_extra_params_issue => [ + '--config-home /cert-data', +], ``` Use the Docker CLI you can achive something similar using: