docker-apps/home-assistant/stacks/.env

28 lines
870 B
Bash

#
# values to be used for substitution by docker compose in compose.yml AND .*.env files
#
DOMAINNAME=sthome.org
APPLICATION_NAME=home-assistant
DOCKERDIR=/mnt/SSD1/docker
MEDIADIR=/mnt/stpool1/NData1/Media
DOWNLOADSDIR=/mnt/stpool1/Downloads
STACKSDIR=${DOCKERDIR}/stacks/${APPLICATION_NAME}
DATAROOT=${DOCKERDIR}/data
DATADIR=${DATAROOT}/${APPLICATION_NAME}
SECRETSDIR=${STACKSDIR}/secrets
WEBUI_PORT=8123
HOME_ASSISTANT_LOCAL=10.0.2.253 # for mDNS
#
# Generate DB_PASSWORD with:
# openssl rand 36 | base64 -w 0 > /mnt/SSD1/docker/stacks/home-assistant/secrets/home-assistant_postgresql_password
POSTGRES_DB_PORT=5432
POSTGRES_DB_HOST=home-assistant_postgresql
POSTGRES_DB_NAME=/run/secrets/home-assistant_postgresql_database
POSTGRES_DB_USER=/run/secrets/home-assistant_postgresql_username
POSTGRES_DB_PASSWORD=/run/secrets/home-assistant_postgresql_password