Open TheLux83 opened 7 years ago
This is the same as #7 as noted, there is a default to username fox password fox that I am yet unable to change.
I'm also trying to use this docker-ttrss with the help of a docker-compose file. @TheLux83 did have success with your file ? I will stay with postgres but would use your file as a base as I'm still learning Docker. Thanks.
Hey @jpbaril unfortunately no. I'm still using the Postgres Database only for TTRSS. I've given up on this case, since it works without any problems :) I'm sorry that I cannot help you.
I found the source of the problem that prevented me using a docker-compose file: https://github.com/x86dev/docker-ttrss/issues/25 The solution would be easy to implement, but for now I use a workaround as explained in the issue.
See root/srv/ttrss-configure-db.php for exactly what's going on.
docker run --rm --name ttrss \ --network dnmp_default \ #mysql network -v /home/ft/docker/ttrss:/var/www \ -e TTRSS_SELF_URL=http://domain.com:8088/ \ -e SELF_URL_PATH=http://domain.com:8088/ \ -e TTRSS_PORT=8080 \ -e DB_PORT_3306_TCP_ADDR=mysql \ -e DB_PORT_3306_TCP_PORT=3306 \ -e DB_TYPE=mysql \ -e DB_HOST=mysql \ -e DB_PORT=3306 \ -e DB_NAME=ttrss \ -e DB_USER=root \ -e DB_PASS=password \ -p 8088:8080 \ x86dev/docker-ttrss
its working for me this way.
Hey there,
since I have a MySQL instance running, I wanted to switch my TTRSS Container to this database. I've configured a Database, a Username and Password and inserted the ENV DB_TYPE=mysql to my Docker-Compose File. Unfortunately it won't let me use a MySQL Database and ist constantly trying to find a Postgre Database.
Here is the output from starting the container:
My Docker-Compose File looks like this:
Is there something wrong with my setup?