bundlewrap/bundles/letsencrypt/metadata.py
2022-01-08 00:20:50 +01:00

24 lines
593 B
Python

defaults = {
'apt': {
'packages': {
'dehydrated': {},
'dnsutils': {},
},
},
'letsencrypt': {
'domains': {
# 'example.com': {
# 'aliases': {'www.example.com'},
# 'reload': {'nginx'},
# 'owner': 'www-data',
# 'location': '/opt/app/certs',
# },
},
},
'systemd-timers': {
'letsencrypt': {
'command': '/usr/bin/dehydrated --cron --accept-terms --challenge dns-01',
'when': 'daily',
},
},
}