Skip to content
Advertisement

Running Acrarium by docker-compose.yaml causes HikariPool-1 – Exception during pool initialization

I’m trying to run Acrarium on my local Debian 10 machine – just to test it – by running the docker-compose up command with this compose file:

JavaScript

The database runs successfully, but when it comes to run acrarium, I’m getting this error in terminal:

HikariPool-1 – Exception during pool initialization. com.mysql.cj.jdbc.exceptions.CommunicationsException: Communications link failure The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.

In docker-compose everything seems OK and googling didn’t give any new parameter or value to use in compose file. Have you any idea what I missed here? Thanks in advance.

P.S. Here is terminal’s full output when I run docker-compose up:

JavaScript

Advertisement

Answer

OK. It was about the environment variables. Here is the latest working docker-compose.yaml:

JavaScript

Also, here at acrarium’s repository you can find the history of changes: Error while upping docker-compose #188

User contributions licensed under: CC BY-SA
2 People found this is helpful
Advertisement