The leading - is spurious, and new versions of docker-compose fail with:
$ docker-compose --version
docker-compose version 1.23.2, build 1110ad01
$ docker-compose up -d
ERROR: The Compose file './docker-compose.yml' is invalid because:
services.node-red.environment contains {"TZ": "GMT"}, which is an invalid type, it should be a string
Removing the - fixes things (and makes it like the other environment groups.
Uh-oh, although this was working, the latest docker-compose update catches an error:
https://github.com/mcci-catena/docker-ttn-dashboard/blob/bf851e9d76f8aaa2d1774148e9a8b6a341f0efd3/docker-compose.yml#L161-L162
The leading
-
is spurious, and new versions of docker-compose fail with:Removing the
-
fixes things (and makes it like the otherenvironment
groups.