Files
homelab-infra/hosts/lab-by-02/docker/lego/catmedved-compose.yaml
v.karaychentsev 7106df52f1 use lego to renew certificates on vps
refactor caddy config
2026-02-24 16:15:18 +03:00

19 lines
410 B
YAML

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