summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--theos/certs/init.sls1
-rw-r--r--theos/certs/prometheus_kyriasis_com.sls16
2 files changed, 17 insertions, 0 deletions
diff --git a/theos/certs/init.sls b/theos/certs/init.sls
index 88cb7c6..9f42ff8 100644
--- a/theos/certs/init.sls
+++ b/theos/certs/init.sls
@@ -7,6 +7,7 @@ include:
- .taskd_kyriasis_com
- .miniflux_kyriasis_com
- .grafana_kyriasis_com
+ - .prometheus_kyriasis_com
- .remmy_io
/etc/letsencrypt/archive:
diff --git a/theos/certs/prometheus_kyriasis_com.sls b/theos/certs/prometheus_kyriasis_com.sls
new file mode 100644
index 0000000..d0076c3
--- /dev/null
+++ b/theos/certs/prometheus_kyriasis_com.sls
@@ -0,0 +1,16 @@
+include:
+ - nginx.ng
+
+prometheus.kyriasis.com:
+ acme.cert:
+ - email: johannes@kyriasis.com
+ - webroot: /srv/http/
+ - keysize: 4096
+ - renew: 30
+
+ - watch_in:
+ - service: nginx_service
+ - require_in:
+ - service: nginx_service
+
+# vim: set ft=yaml et: