Closed andrewyang-retriever closed 5 years ago
Can you please specify exactly how you are running it? command line/docker compose? can you supply?
Sure, this is the command I run:
docker run -d --name jasperserver -e DB_TYPE=mysql -e DB_HOST=localhost -e DB_PORT=3307 -e DB_USER=root -e DB_PASSWORD=root -p 8079:8080 retriever/jasperserver
Maybe it's due to removing the --link comand? --link jasperserver_mysql:db
although not sure how that changes the port number
Hmm I can't seem to reproduce the exact same issue anymore lol
All I can add is that instead of using the link or any network bridge, I attempted to connect to a db-container which was also bound to my host's 3307 port (but internally the db ran on 3306 within its own container).
Closing issue as it's practically useless without being able to reproduce it now :P
It seems like even though you supply env ${DB_PORT}, when it actually starts up it still tries to use 3306 (I tried setting DB_PORT to 3307).