From d835ac1eda03df19d5b2349a65172bf19f1fb75e Mon Sep 17 00:00:00 2001 From: Eric Rakestraw Date: Mon, 23 Mar 2026 01:21:30 +0000 Subject: [PATCH] Updated the config file format --- templates/weatherapi/config.yml.j2 | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/templates/weatherapi/config.yml.j2 b/templates/weatherapi/config.yml.j2 index 3812100..6b6986a 100644 --- a/templates/weatherapi/config.yml.j2 +++ b/templates/weatherapi/config.yml.j2 @@ -1,9 +1,13 @@ --- +server: + listen_addr: ":8080" + default_format: json + +databases: - name: weatherdb driver: postgres - params: - uri: postgres://weatherdb:5432/{{ feedstack_weatherdb_database }}?sslmode=disable - username: {{ feedstack_weatherdb_user }} - password: {{ feedstack_weatherdb_password }} + uri: postgres://{{ feedstack_weatherdb_user }}:{{ feedstack_weatherdb_password }}@weatherdb:5432/{{ feedstack_weatherdb_database }}?sslmode=disable +templates: + base_dir: templates ... \ No newline at end of file