File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -18,4 +18,4 @@ chronograf:
1818 - ./volumes/chronograf:/var/lib/chronograf
1919 depends_on :
2020 - influxdb
21- # - kapacitor
21+ - kapacitor
Original file line number Diff line number Diff line change @@ -8,11 +8,11 @@ deconz:
88 - " 5901:5900"
99 volumes :
1010 - ./volumes/deconz:/opt/deCONZ
11- devices : # This list is replaced during the build process. Modify the list in "build_settings.yml" to change it.
12- - / dev/null
11+ devices :
12+ - " ${DECONZ_DEVICE_PATH:?eg echo DECONZ_DEVICE_PATH=dev/ttyUSB0 >>~/IOTstack/.env}:/ dev/ttyUSB0 "
1313 environment :
1414 - DECONZ_VNC_MODE=1
15- - DECONZ_VNC_PASSWORD=%randomPassword%
15+ - DECONZ_VNC_PASSWORD=${DECONZ_VNC_PASSWORD:- %randomPassword%}
1616 - DEBUG_INFO=1
1717 - DEBUG_APS=0
1818 - DEBUG_ZCL=0
Original file line number Diff line number Diff line change @@ -7,8 +7,10 @@ duckdns:
77 PUID : 1000
88 PGID : 1000
99 # Required variables, define here on in docker-compose.override.yml
10- # TOKEN: token from duckdns.org
11- # SUBDOMAINS: your domain added to duckdns.org (without .duckdns.org)
12- # Optional
13- # PRIVATE_SUBDOMAINS: your domain added to duckdns.org (without .duckdns.org)
10+ # token from duckdns.org
11+ TOKEN : ${DUCKDNS_TOKEN:?eg echo DUCKDNS_TOKEN=token >>~/IOTstack/.env}
12+ # your domain added to duckdns.org (without .duckdns.org)
13+ SUBDOMAINS : ${DUCKDNS_SUBDOMAINS:?eg echo DUCKDNS_SUBDOMAINS=subdomains >>~/IOTstack/.env}
14+ # optional your private domain added to duckdns.org (without .duckdns.org)
15+ # PRIVATE_SUBDOMAINS: ${DUCKDNS_PRIVATE_SUBDOMAINS:-}
1416
Original file line number Diff line number Diff line change 66 ports :
77 - " 3000:3000"
88 environment :
9- - TZ=Etc/UTC
9+ - TZ=${TZ:- Etc/UTC}
1010 - GF_PATHS_DATA=/var/lib/grafana
1111 - GF_PATHS_LOGS=/var/log/grafana
1212 volumes :
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ homebridge:
33 image : homebridge/homebridge:latest
44 restart : unless-stopped
55 environment :
6- - TZ=Etc/UTC
6+ - TZ=${TZ:- Etc/UTC}
77 - PGID=1000
88 - PUID=1000
99 - HOMEBRIDGE_CONFIG_UI=1
Original file line number Diff line number Diff line change @@ -6,16 +6,16 @@ influxdb:
66 ports :
77 - " 8086:8086"
88 environment :
9- - TZ=Etc/UTC
9+ - TZ=${TZ:- Etc/UTC}
1010 - INFLUXDB_HTTP_FLUX_ENABLED=false
1111 - INFLUXDB_REPORTING_DISABLED=false
1212 - INFLUXDB_HTTP_AUTH_ENABLED=false
1313 - INFLUXDB_MONITOR_STORE_ENABLED=FALSE
14- # - INFLUX_USERNAME= dba
15- # - INFLUX_PASSWORD=supremo
16- # - INFLUXDB_UDP_ENABLED= false
17- # - INFLUXDB_UDP_BIND_ADDRESS= 0.0.0.0:8086
18- # - INFLUXDB_UDP_DATABASE= udp
14+ # - INFLUX_USERNAME: ${INFLUXDB1_USERNAME:- dba}
15+ # - INFLUX_PASSWORD: ${INFLUXDB1_PASSWORD:?eg echo INFLUXDB1_PASSWORD =supremo >>~/IOTstack/.env}
16+ # - INFLUXDB_UDP_ENABLED: false
17+ # - INFLUXDB_UDP_BIND_ADDRESS: 0.0.0.0:8086
18+ # - INFLUXDB_UDP_DATABASE: udp
1919 volumes :
2020 - ./volumes/influxdb/data:/var/lib/influxdb
2121 - ./backups/influxdb/db:/var/lib/influxdb/backup
Original file line number Diff line number Diff line change @@ -3,11 +3,11 @@ influxdb2:
33 image : " influxdb:latest"
44 restart : unless-stopped
55 environment :
6- - TZ=Etc/UTC
7- - DOCKER_INFLUXDB_INIT_USERNAME=me
8- - DOCKER_INFLUXDB_INIT_PASSWORD=mypassword
9- - DOCKER_INFLUXDB_INIT_ORG=myorg
10- - DOCKER_INFLUXDB_INIT_BUCKET=mybucket
6+ - TZ=${TZ:- Etc/UTC}
7+ - DOCKER_INFLUXDB_INIT_USERNAME=${INFLUXDB2_USERNAME:-me}
8+ - DOCKER_INFLUXDB_INIT_PASSWORD=${INFLUXDB2_PASSWORD:?eg echo INFLUXDB2_PASSWORD= mypassword >>~/IOTstack/.env}
9+ - DOCKER_INFLUXDB_INIT_ORG=${INFLUXDB2_ORG:- myorg}
10+ - DOCKER_INFLUXDB_INIT_BUCKET=${INFLUXDB2_BUCKET:- mybucket}
1111 - DOCKER_INFLUXDB_INIT_ADMIN_TOKEN=my-super-secret-auth-token
1212 - DOCKER_INFLUXDB_INIT_MODE=setup
1313 # - DOCKER_INFLUXDB_INIT_MODE=upgrade
Original file line number Diff line number Diff line change @@ -6,9 +6,9 @@ kapacitor:
66 - TZ=${TZ:-Etc/UTC}
77 # see https://docs.influxdata.com/kapacitor/v1.6/administration/configuration/#kapacitor-environment-variables
88 - KAPACITOR_INFLUXDB_0_URLS_0=http://influxdb:8086
9- # - KAPACITOR_INFLUXDB_USERNAME=
10- # - KAPACITOR_INFLUXDB_PASSWORD=
11- # - KAPACITOR_HOSTNAME=kapacitor
9+ # - KAPACITOR_INFLUXDB_USERNAME=${INFLUXDB1_USERNAME:-dba}
10+ # - KAPACITOR_INFLUXDB_PASSWORD=${INFLUXDB1_PASSWORD}
11+ # - KAPACITOR_HOSTNAME=${KAPACITOR_HOSTNAME:- kapacitor}
1212 # - KAPACITOR_LOGGING_LEVEL=INFO
1313 # - KAPACITOR_REPORTING_ENABLED=false
1414 ports :
Original file line number Diff line number Diff line change @@ -5,10 +5,10 @@ mariadb:
55 - TZ=${TZ:-Etc/UTC}
66 - PUID=1000
77 - PGID=1000
8- - MYSQL_ROOT_PASSWORD=%randomAdminPassword%
9- - MYSQL_DATABASE=default
10- - MYSQL_USER=mariadbuser
11- - MYSQL_PASSWORD=%randomPassword%
8+ - MYSQL_ROOT_PASSWORD=${MARIADB_ROOT_PASSWORD:?eg echo MARIADB_ROOT_PASSWORD= %randomAdminPassword% >>~/IOTstack/.env}
9+ - MYSQL_DATABASE=${MARIADB_DATABASE:- default}
10+ - MYSQL_USER=${MARIADB_USER:- mariadbuser}
11+ - MYSQL_PASSWORD=${MARIADB_USER_PASSWORD:?eg echo MARIADB_USER_PASSWORD= %randomPassword% >>~/IOTstack/.env}
1212 volumes :
1313 - ./volumes/mariadb/config:/config
1414 - ./volumes/mariadb/db_backup:/backup
Original file line number Diff line number Diff line change @@ -5,9 +5,9 @@ nextcloud:
55 environment :
66 - TZ=${TZ:-Etc/UTC}
77 - MYSQL_HOST=nextcloud_db
8- - MYSQL_PASSWORD=%randomMySqlPassword%
9- - MYSQL_DATABASE=nextcloud
10- - MYSQL_USER=nextcloud
8+ - MYSQL_PASSWORD=${NEXTCLOUD_DB_USER_PASSWORD:?eg echo NEXTCLOUD_DB_USER_PASSWORD= %randomMySqlPassword% >>~/IOTstack/.env}
9+ - MYSQL_DATABASE=${NEXTCLOUD_DB_NAME:- nextcloud}
10+ - MYSQL_USER=${NEXTCLOUD_DB_USER:- nextcloud}
1111 ports :
1212 - " 9321:80"
1313 - " 9343:443"
@@ -27,10 +27,10 @@ nextcloud_db:
2727 - TZ=${TZ:-Etc/UTC}
2828 - PUID=1000
2929 - PGID=1000
30- - MYSQL_ROOT_PASSWORD=%randomPassword%
31- - MYSQL_PASSWORD=%randomMySqlPassword%
32- - MYSQL_DATABASE=nextcloud
33- - MYSQL_USER=nextcloud
30+ - MYSQL_ROOT_PASSWORD=${NEXTCLOUD_DB_ROOT_PASSWORD:?eg echo NEXTCLOUD_DB_ROOT_PASSWORD= %randomPassword% >>~/IOTstack/.env}
31+ - MYSQL_PASSWORD=${NEXTCLOUD_DB_USER_PASSWORD:?eg echo NEXTCLOUD_DB_USER_PASSWORD= %randomMySqlPassword% >>~/IOTstack/.env}
32+ - MYSQL_DATABASE=${NEXTCLOUD_DB_NAME:- nextcloud}
33+ - MYSQL_USER=${NEXTCLOUD_DB_USER:- nextcloud}
3434 volumes :
3535 - ./volumes/nextcloud/db:/config
3636 - ./volumes/nextcloud/db_backup:/backup
You can’t perform that action at this time.
0 commit comments