Comments (3)
In my mind, almost every variable in dotmarketing-config.properties should be overwriteable via environmental variables.
from docker.
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.
@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)
- Problem starting up docker container in isolation HOT 7
- Permission and npm issues building and running docker image HOT 1
- hazelcast:3.9.2-os docker image cluster does not create a single cluster. HOT 3
- Hazelcast 3.9.2-alpha cluster unreliable
- dotCms is not able to connect to elasticsearch HOT 6
- ES Configuration Variables Ignored in dotCMS version 5.3.5 docker image HOT 1
- Continual Hazelcast Messages HOT 1
- 05-setup-app-storage can fail
- Up default tomcat threads
- Update URL to pull dotcms release tar.gz HOT 1
- Auto login failed (No user found)
- Regex in dotmarketing-config.properties file being mangled by templating process HOT 2
- Content import and exports limited to 10,000? HOT 2
- Create YAML to deploy dotCMS image in OpenShift
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker.