From 612d666b2e08622ac82d2791443232dedb3c0805 Mon Sep 17 00:00:00 2001 From: Stefan Haun Date: Sat, 12 Nov 2022 16:11:41 +0100 Subject: [PATCH] :wrench: Add volume for grafana configuration We need to make custom configurations for grafana. --- host-pottwal.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/host-pottwal.yml b/host-pottwal.yml index 654ba2c..464e86f 100644 --- a/host-pottwal.yml +++ b/host-pottwal.yml @@ -393,6 +393,8 @@ - path: "{{ data_dir }}/grafana/data" owner: 472 mode: "0755" + - path: "{{ data_dir }}/grafana/etc" + mode: "0755" - name: Ensure container for grafana is running docker_container: @@ -402,12 +404,13 @@ - "127.0.0.1:{{ grafana_host_port }}:3000" volumes: - "{{ data_dir }}/grafana/data:/var/lib/grafana" + - "{{ data_dir }}/grafana/etc:/etc/grafana" env: TZ: "{{ timezone }}" GF_SECURITY_ADMIN_PASSWORD: "{{ grafana_admin_password }}" GF_USERS_ALLOW_SIGN_UP: "false" GF_INSTALL_PLUGINS: "flant-statusmap-panel,ae3e-plotly-panel" - + - name: Setup proxy site grafana.n39.eu include_role: name: setup_http_site_proxy