TT-RSS - option to link existing database container

tt-rss

#1

Is it possible to be able to link a mysql docker container to the TT-RSS container? I tried adding --link mysql:mysql to the docker command, but it doesn’t seem to see the mysql server.

Thanks


#2

link is deprecated. If you just want to be able to connect from container to container, you can create a new user defined bridge network via docker network create <networkname> and define that bridge in both the tt-rss and mariadb containers as --net <networkname> and then from the tt-rss container, you can reach mariadb by using the container name mariadb as the url and 3306 as the port.