Coder Social home page Coder Social logo

Does not honor env pass about docker-ttrss HOT 3 OPEN

x86dev avatar x86dev commented on July 20, 2024
Does not honor env pass

from docker-ttrss.

Comments (3)

aschmitz avatar aschmitz commented on July 20, 2024

It turns out that there are a number of things you need to set to get the database configuration script to run through happily. See root/srv/ttrss-configure-db.php for exactly what's going on. Try adding these:

  • DB_PORT=5432
  • DB_PORT_5432_TCP_ADDR=172.17.0.1 (to use your example)
  • DB_PORT_5432_TCP_PORT=5432

(Those last two will get automatically set under some conditions if you use --link [somecontainer]:db, but not, say, with docker-compose and a Compose file of version 2 or later.)

from docker-ttrss.

x86dev avatar x86dev commented on July 20, 2024

The latest updates to the Docker image should work with those environment parameters -- just tested that myself.

from docker-ttrss.

bobberb avatar bobberb commented on July 20, 2024

I docker rmi-ed and pulled a fresh image down. I still cannot get this to connect to postgres on 172.17.0.1 or get my user in. Still connects as fox to localhost database fox.

from docker-ttrss.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.