-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multideploy: Deploy to multiple hooks of the same type #6241
base: dev
Are you sure you want to change the base?
Conversation
Deployhook docker
+1 on this kind of capability at least for wildcard certs. I was recently looking at a situation with multiple mikrotik routers where this would have been helpful. |
please update the wiki page first. |
@Neilpang done |
let's remove the
It's not necessary. In the yaml example, please add some other hooks, not just docker hook. because it should work with any hooks. Don't use a hardcoded 'multideploy.yml" file, let's make it a env variable, just like the others:
You can just copy the "$DEPLOY_YAML" file to the domain folder, it will be easier for the user to use. |
The configurations ( Do you agree with this @Neilpang? |
no, this is too complicated.
no, use the env variable to pass value. it's the same way as others. |
@Neilpang, I removed configs and introduced a variable deploy file name. The wiki is now up to date. |
This hook allows the user to deploy certificates to multiple services at once. It can store configurations for numerous services, even for the same hook.
Example
You have three Docker containers and a Synology NAS (DSM). However, using the
docker
andsynology_dsm
hooks, you can only deploy to one Docker container with renewals. This problem is solved with Multideploy.Sample config file
The file can be named
multideploy.yml
ormultideploy.yaml
. It is stored in the domain folder.$DOMAIN_DIR
is a variable that allows deploying certificated to a dir named after the certificate's domain to make changes easier.Wiki
Please tell me if you will merge this first before I start writing a wiki entry for this. thx
https://github.com/acmesh-official/acme.sh/wiki/deployhooks#36-deploying-to-multiple-services-with-the-same-hooks