Add initial configuration and templates for feedstack role.

This commit is contained in:
2026-02-07 17:01:21 +00:00
parent 6eee98f05e
commit 91e0c7334d
9 changed files with 197 additions and 0 deletions

27
vars/containers/nats.yml Normal file
View File

@@ -0,0 +1,27 @@
---
nats:
# Define the name of this container.
name: "nats"
# Define the docker image to be used for this container.
image: "{{ feedstack_nats_container_image }}:{{ feedstack_nats_container_tag }}"
# Define the path where application data for this container will be stored.
appdata_directory: "{{ docker_appdata_directory }}/nats"
# Define the volumes that should be mounted into the container.
volumes:
- "{{ docker_appdata_directory }}/nats/data:/data"
- "{{ docker_appdata_directory }}/nats/config/nats.conf:/etc/nats/nats.conf:ro"
# Define the ports that should be opened to the outside world.
ports:
- "4222:4222" # client port
- "6222:6222" # cluster port
- "8222:8222" # monitoring port
# Define environment variables to be passed to the container.
#environment_variables: []
...

View File

@@ -0,0 +1,16 @@
---
watchtower:
# Define the name of this container.
name: "feedstack-watchtower"
# Define the docker image to be used for this container.
image: "{{ feedstack_watchtower_container_image }}:{{ feedstack_watchtower_container_tag }}"
# Define the path where application data for this container will be stored.
appdata_directory: "{{ docker_appdata_directory }}/watchtower"
# Define the volumes that should be mounted into the container.
volumes:
- "/var/run/docker.sock:/var/run/docker.sock"
...

View File

@@ -0,0 +1,23 @@
---
weatherfeeder:
# Define the name of this container.
name: "weatherfeeder"
# Define the docker image to be used for this container.
image: "{{ feedstack_weatherfeeder_container_image }}:{{ feedstack_weatherfeeder_container_tag }}"
# Define the path where application data for this container will be stored.
appdata_directory: "{{ docker_appdata_directory }}/weatherfeeder"
# Define the volumes that should be mounted into the container.
volumes:
- "{{ docker_appdata_directory }}/weatherfeeder/config.yml:/weatherfeeder/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: []
...