Added the weatherprocessor container to the stack.
This commit is contained in:
@@ -13,7 +13,11 @@ feedstack_server_key_filename: "privkey.pem"
|
|||||||
feedstack_weatherfeeder_container_image: "harbor.maximumdirect.net/library/weatherfeeder"
|
feedstack_weatherfeeder_container_image: "harbor.maximumdirect.net/library/weatherfeeder"
|
||||||
feedstack_weatherfeeder_container_tag: "latest"
|
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_image: "nats"
|
||||||
feedstack_nats_container_tag: "linux"
|
feedstack_nats_container_tag: "linux"
|
||||||
|
|
||||||
|
|||||||
26
vars/containers/weatherprocessor.yml
Normal file
26
vars/containers/weatherprocessor.yml
Normal 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"
|
||||||
|
|
||||||
|
...
|
||||||
Reference in New Issue
Block a user