Added the weatherprocessor container to the stack.

This commit is contained in:
2026-02-08 03:37:01 +00:00
parent dd8879972a
commit 2585dbffd1
2 changed files with 31 additions and 1 deletions

View File

@@ -13,7 +13,11 @@ feedstack_server_key_filename: "privkey.pem"
feedstack_weatherfeeder_container_image: "harbor.maximumdirect.net/library/weatherfeeder"
feedstack_weatherfeeder_container_tag: "latest"
# Define the default agent container image and tag.
# Define the default weatherprocessor container image and tag.
feedstack_weatherprocessor_container_image: "harbor.maximumdirect.net/library/weatherprocessor"
feedstack_weatherprocessor_container_tag: "latest"
# Define the default NATS container image and tag.
feedstack_nats_container_image: "nats"
feedstack_nats_container_tag: "linux"

View File

@@ -0,0 +1,26 @@
---
weatherprocessor:
# Define the name of this container.
name: "weatherprocessor"
# Define the docker image to be used for this container.
image: "{{ feedstack_weatherprocessor_container_image }}:{{ feedstack_weatherprocessor_container_tag }}"
# Define the path where application data for this container will be stored.
appdata_directory: "{{ docker_appdata_directory }}/weatherprocessor"
# Define the volumes that should be mounted into the container.
volumes:
- "{{ docker_appdata_directory }}/weatherprocessor/config.yml:/weatherprocessor/config.yml:ro"
# Define the ports that should be opened to the outside world.
#ports: []
# Define environment variables to be passed to the container.
environment_variables:
- "WEATHERPROCESSOR_NATS_URL=nats://nats:4222"
- "WEATHERPROCESSOR_SUBJECT=weatherfeeder"
- "WEATHERPROCESSOR_OUTPUT_FORMAT=yaml"
...