Giter Site home page Giter Site logo

Comments (3)

wezell avatar wezell commented on May 24, 2024

In my mind, almost every variable in dotmarketing-config.properties should be overwriteable via environmental variables.

from docker.

jdotcms avatar jdotcms commented on May 24, 2024

On dotCMS we have interpolation for dotmarketing-config.properties

You can do something like

property1={env:SomeEnvironmentKey}
property2={sys:SomeSystemKey}

As you can see the first one is to get the value from the environment and the second from the system, the reference is here: https://dotcms.com/docs/latest/changing-configuration-properties#References

from docker.

pmooneyarchitech avatar pmooneyarchitech commented on May 24, 2024

@jdotcms That helps for my case, since I'm using the dotcms docker image as a base and building on top of it I can add those references into my dotmarketing-config.properties or dotmarketing-config-ext.properties files, and then I can turn on/off secure cookies depending on the environment without the extra overhead of having to put together a dockerize template of those files.

@wezell For people who want to just use the vanilla dotcms docker image, or just want to do less work, I think your opinion makes sense. The dotmarketing-config.properties, by default, could use string interpolation/references and the docker image provides all of the sensible default values for all of the environment variables.

from docker.

Related Issues (15)

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.