33 lines
1008 B
YAML
33 lines
1008 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 user that the container should be run as.
|
|
user: "{{ docker_user_id }}:{{ docker_group_id }}"
|
|
|
|
# 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 the dependencies for this container.
|
|
dependencies:
|
|
- nats
|
|
- weatherfeeder
|
|
|
|
# Define environment variables to be passed to the container.
|
|
environment_variables:
|
|
- "WEATHERPROCESSOR_OUTPUT_FORMAT=yaml"
|
|
|
|
...
|