Skip to content

Commit

Permalink
Update documentation for Docker
Browse files Browse the repository at this point in the history
Updated the documentation that talks about Docker to also mention
some of the config file options that have been added.
  • Loading branch information
timewasted committed Sep 18, 2024
1 parent e72c0c6 commit b9ac791
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit b9ac791

Please sign in to comment.