stefanprodan / swarmprom

Docker Swarm instrumentation with Prometheus, Grafana, cAdvisor, Node Exporter and Alert Manager
MIT License
1.87k stars 733 forks source link

Docker compose empty environment variables #120

Closed barnabasbartha closed 4 years ago

barnabasbartha commented 4 years ago

Followed the install instructions but running the docker stack deploy command the above exported environment variables don't get replaced but remain empty. Did I something wrong, or do I have to do something differently now?

barnabasbartha commented 4 years ago

It turned out I did not followed correctly the instructions as I used sudo. By removing that, the environment variables are getting replaced correctly.