Closed Avasz closed 6 years ago
Adding the following line under "volume" works: ./env/discovery/server.cert:/var/lib/rabbitmq/tls/ca.cert
This method does work but the cleaner way would be to set up common symlinks at /etc/ttn/<component>
as described in the tutorial below:
https://www.thethingsnetwork.org/article/deploying-a-private-routing-environment-with-docker-compose
BRIDGE_REDIS_ADDRESS: redis:6379
This is correct.
Ah nice. I didn't think there would be such a detailed guide for docker-compose up, so didn't bothered to search, my bad.
Everything is writted in detail there. Thank You!
This is a bug report/question/... for tttnstack.
rabbitmq searches for "ca.cert" in
/var/lib/rabbitmq/tls/ca.cert
which should work fine if not in docker because it seems to be symlinked to../discovery/server.crt
. but for docker it doesn't work. Adding the following line under "volume" works:./env/discovery/server.cert:/var/lib/rabbitmq/tls/ca.cert
There might be some better method too.
It seems that by default the
bridge
container searches forredis
in localhost:6379. Adding the following line underenvironment
of bridge service seems to work:BRIDGE_REDIS_ADDRESS: redis:6379
Please check it and let know if what I did are correct.
Thanks