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

23 lines
572 B
YAML

---
weatherapi:
# Define the name of this container.
name: "weatherapi"
# Define the docker image to be used for this container.
image: "{{ feedstack_weatherapi_container_image }}:{{ feedstack_weatherapi_container_tag }}"
# Define ports that should be opened to the outside world.
ports:
- "8080:8080"
# Define the volumes that should be mounted into the container.
volumes:
- "{{ docker_appdata_directory }}/weatherapi/config.yml:/weatherapi/config.yml:ro"
# Define the dependencies for this container.
dependencies:
- weatherdb
...