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