setup docker with variables;

debug logging for configuration variables;
This commit is contained in:
Dobromir Popov ONE
2022-03-29 23:38:01 +03:00
parent 80a6e13c2e
commit a701761510
9 changed files with 68 additions and 17 deletions

View File

@@ -9,8 +9,12 @@ services:
- DATABASE_USER=root
- DATABASE_PASS=mitko2021
- GARDEN_IP=192.168.0.187
- MQTT_HOST=node-mqtt
- MQTT_PORT_HTTP=1883
- MQTT_PORT_HTTPS=8444
depends_on:
- node-mysql
- node-mqtt
restart: always
ports:
- 2081:2080
@@ -22,6 +26,8 @@ services:
MYSQL_ROOT_PASSWORD: mitko2021
MYSQL_USER: iot
MYSQL_PASSWORD: mitko2021
volumes:
- iotdbdata:/var/lib/mysql
# for mitko:mqtt
node-mqtt:
image: eclipse-mosquitto
@@ -29,4 +35,6 @@ services:
hostname: node-mqtt
ports:
- 1885:1883
restart: always
restart: always
volumes:
iotdbdata: