-
Notifications
You must be signed in to change notification settings - Fork 575
docker_app unhealthy connection timeout to psql #533
Comments
I get the same errors using the 5.34.2 docker image. I use a managed PSQL-instance though but have declared the following env.variables:
|
Stopped using PSQL I created my own dockerfile container with MySQL its working now. |
@Chillitzel do you mind sharing this new configuration/setup? Is the latest mattermost still working with mysql/mariadb over postgresql? So we could possibly skip all this migration stuff which is not working? :) |
docker-compose.yml ->
I'm not using web system because i already have Nginx as my load balancer. on the SQL side docker run --name some-mysql -e MYSQL_ROOT_PASSWORD=my-secret-pw -d mysql:latest I hope it will help you. |
{"level":"error","ts":1619196399.6142342,"caller":"sqlstore/supplier.go:258","msg":"Failed to ping DB","error":"dial tcp 172.21.0.4:5432: i/o timeout","retrying in seconds":10}
I checked network bridge app and db container in the same network and in same subnet but somehow app can't ping SQL server
Docker -v = Docker version 20.10.5, build 55c4c88
OS = Ubuntu 20.04.2 LTS
Compose = docker-compose version 1.24.0, build 0aa59064
The text was updated successfully, but these errors were encountered: