Files
ansible-role-feedstack/vars/containers/weatherprocessor.yml

27 lines
899 B
YAML

---
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"
...