Coder Social home page Coder Social logo

General env var question about portus HOT 6 CLOSED

katosys avatar katosys commented on August 22, 2024
General env var question

from portus.

Comments (6)

h0tbird avatar h0tbird commented on August 22, 2024 2

@cpoole I will stick to sed over envsubst. I think it also aligns better with the issue reported by @matthewhartstonge which I think might be addressed by 2ee0584. Let me know if you test it.

from portus.

h0tbird avatar h0tbird commented on August 22, 2024

No specific reason, it was the first thing that occurred to me. I will have a look at envsubst, thank you for the info.

from portus.

cpoole avatar cpoole commented on August 22, 2024

Sure thing, let me know if you're interested in trying it out and I can submit a PR. If not just go ahead and close this issue

from portus.

cpoole avatar cpoole commented on August 22, 2024

friendly bump

from portus.

matthewhartstonge avatar matthewhartstonge commented on August 22, 2024

Maybe just check if not null? The newer versions of Portus explicitly checks for and uses the ENVVARs you use as highest precedence.
I just ran into an issue where I'm deploying a config-local.yml file but due to the init script setting the ENVVARs if null, the ENVVARs take precedence over my config-local.yml file.

from portus.

cpoole avatar cpoole commented on August 22, 2024

@h0tbird agreed, in the past 5 months docker has really switched to adopt the secrets file, making this a moot point

from portus.

Related Issues (12)

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.