Updated feedstack to include weatherdb and weatherapi containers

This commit is contained in:
2026-03-17 16:17:06 +00:00
parent 29cac89fe8
commit 6fcdffd6c4
7 changed files with 80 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
---
weatherdb:
# Define the name of this container.
name: "weatherdb"
# Define the docker image to be used for this container.
image: "{{ feedstack_weatherdb_container_image }}:{{ feedstack_weatherdb_container_tag }}"
# Define the volumes that should be mounted into the container.
volumes:
- "{{ docker_appdata_directory }}/weatherdb/db:/var/lib/postgresql/data"
# Define environment variables to be passed to the container.
environment_variables:
- "POSTGRES_USER={{ feedstack_weatherdb_user }}"
- "POSTGRES_PASSWORD={{ feedstack_weatherdb_password }}"
- "POSTGRES_DB={{ feedstack_weatherdb_database }}"
...