Commit 3c97c14f authored by matt's avatar matt

add netdata letsencrypt

parent b4f2aa88
......@@ -77,7 +77,7 @@
- /home/netdata-proxy/nginx.conf:/etc/nginx/conf.d/default.conf
env:
LETSENCRYPT_EMAIL: '{% if letsencrypt_email %}{{ letsencrypt_email }}{% endif %}'
LETSENCRYPT_HOST: '{% if letsencrypt_email %}{{ netdata_dns }}{% endif %}'
LETSENCRYPT_HOST: '{{ netdata_dns }}'
VIRTUAL_HOST: '{{ netdata_dns }}'
- name: Make prometheus home
......@@ -101,6 +101,8 @@
ports:
- 9090:9090
env:
LETSENCRYPT_EMAIL: '{% if letsencrypt_email %}{{ letsencrypt_email }}{% endif %}'
LETSENCRYPT_HOST: '{{ prometheus_dns }}'
VIRTUAL_HOST: '{{ prometheus_dns }}'
- name: Make grafana home
......@@ -122,7 +124,9 @@
ports:
- 3000:3000
env:
LETSENCRYPT_HOST: '{{ mail_dns }}'
VIRTUAL_HOST: '{{ grafana_dns }}'
LETSENCRYPT_HOST: '{{ grafana_dns }}'
GF_SECURITY_ADMIN_PASSWORD: '{{ grafana_password }}'
- name: Install netdata htaccess
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment