mcci-catena / docker-iot-dashboard

A complete IoT server for LoRaWAN IoT projects: node-red + influxdb + grafana + ssl + let's encrypt using docker-compose.
MIT License
101 stars 60 forks source link

Error doing clean docker-compose build #37

Closed terrillmoore closed 5 years ago

terrillmoore commented 5 years ago

With the latest changes, we get a build failure.

$ docker-compose build
ERROR: Invalid interpolation format for "build" option in service "postfix": "${TTN_DASHBOARD_MAIL_RELAY_IP:-}"

This is coming from the Dockerfile for postfix; it appears that the substitution is not done in the way we think. Or I have an old docker-compose / docker (seems very likely on that target). Filing a bug anyway in case others hit this.

oliv3 commented 5 years ago

Right, maybe some docker version issue. This was tested with/on:

# docker --version
Docker version 18.06.1-ce, build e68fc7a
# docker-compose --version
docker-compose version 1.23.0-rc1, build 320e4819
# cat /etc/debian_version 
9.5
terrillmoore commented 5 years ago

It was indeed a docker version issue. Working version for me:

$ docker --version
Docker version 18.09.1, build 4c52b90
$ docker-compose --version
docker-compose version 1.23.2, build 1110ad01
$ uname -a
Linux mcci-ttn-demo 4.4.0-141-generic #167-Ubuntu SMP Wed Dec 5 10:40:15 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
oliv3 commented 5 years ago

Great !