Add initial configuration and templates for feedstack role.
This commit is contained in:
27
vars/containers/nats.yml
Normal file
27
vars/containers/nats.yml
Normal 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: []
|
||||
|
||||
...
|
||||
16
vars/containers/watchtower.yml
Normal file
16
vars/containers/watchtower.yml
Normal 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"
|
||||
...
|
||||
23
vars/containers/weatherfeeder.yml
Normal file
23
vars/containers/weatherfeeder.yml
Normal 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: []
|
||||
|
||||
...
|
||||
3
vars/main.yml
Normal file
3
vars/main.yml
Normal file
@@ -0,0 +1,3 @@
|
||||
---
|
||||
|
||||
...
|
||||
Reference in New Issue
Block a user