Updated feedstack to include weatherdb and weatherapi containers
This commit is contained in:
19
vars/containers/weatherdb.yml
Normal file
19
vars/containers/weatherdb.yml
Normal file
@@ -0,0 +1,19 @@
|
||||
---
|
||||
weatherdb:
|
||||
|
||||
# Define the name of this container.
|
||||
name: "weatherdb"
|
||||
|
||||
# Define the docker image to be used for this container.
|
||||
image: "{{ feedstack_weatherdb_container_image }}:{{ feedstack_weatherdb_container_tag }}"
|
||||
|
||||
# Define the volumes that should be mounted into the container.
|
||||
volumes:
|
||||
- "{{ docker_appdata_directory }}/weatherdb/db:/var/lib/postgresql/data"
|
||||
|
||||
# Define environment variables to be passed to the container.
|
||||
environment_variables:
|
||||
- "POSTGRES_USER={{ feedstack_weatherdb_user }}"
|
||||
- "POSTGRES_PASSWORD={{ feedstack_weatherdb_password }}"
|
||||
- "POSTGRES_DB={{ feedstack_weatherdb_database }}"
|
||||
...
|
||||
Reference in New Issue
Block a user