use lego to renew certificates on vps
refactor caddy config
This commit is contained in:
18
hosts/lab-by-02/docker/lego/catmedved-compose.yaml
Normal file
18
hosts/lab-by-02/docker/lego/catmedved-compose.yaml
Normal file
@@ -0,0 +1,18 @@
|
||||
services:
|
||||
lego:
|
||||
image: goacme/lego:latest
|
||||
container_name: lego
|
||||
restart: "no"
|
||||
env_file: .env
|
||||
volumes:
|
||||
- ./certs:/.lego
|
||||
command:
|
||||
- --email=admin@catmedved.com
|
||||
- --accept-tos
|
||||
- --dns=namecheap
|
||||
- --domains=catmedved.com
|
||||
- --domains=*.catmedved.com
|
||||
- run
|
||||
# use renew to update existing certificate(s)
|
||||
# - renew u
|
||||
# - --days=60
|
||||
Reference in New Issue
Block a user