Uses anacron to run acmetool daily.
$ docker build .
$ export ACME_STATE_DIR=$PWD/acme
$ mkdir -p $ACME_STATE_DIR/anacron
$ ./acmetool quickstart
$ ./acmetool want mydomain.example.com --no-reconcile
Note: Do not create hooks or cronjobs. Select 'Stateless' challenge mode at this stage, even if you are going to use some other method.
$ vi $ACME_STATE_DIR/conf/target
$ cat $ACME_STATE_DIR/conf/target
request:
provider: https://acme-staging.api.letsencrypt.org/directory
challenge:
webroot-paths:
- /var/lib/acme/webroot
key:
type: rsa
$ docker run -v $ACME_STATE_DIR:/var/lib/acme image_id
Reload hooks are work in progress. Adventurous people can put their hooks into reload
file