(...)
cms:
(...)
environment:
CONF_FILES: cms
volumes:
- ./cms/cms-conf:/cms/conf
(...)
To override and extend the default settings, mount files in the Gentics CMS configuration directory and set the CONF_FILES
environment variable accordingly:
(...)
cms:
(...)
environment:
CONF_FILES: cms
volumes:
- ./cms/cms-conf:/cms/conf
(...)
CONF_FILES
environment variable is a comma separated list of individual configuration files to load or directories. For each directory in the list, all contained .yml files will be added to the configuration. An overview of all configuration options can be found in the Gentics CMS feature list.
Most settings can be defined as environment variables. For everything else mount a server.local.yml file into the portal config directory.
(...)
portal:
(...)
volumes:
-./portal/config/server.local.yml:/portal/config/server.local.yml
environment:
MESH_HOST: "mesh"
MESH_PORT: 8080
MESH_PROJECT: "reference"
SERVER_URL: "http://localhost:8000"
SERVER_PORT: 8000
An overview of all configuration options can be found in the Gentics Portal | java documentation.
All available configuration settings are documented in the Gentics Portal | php configuration file.
Most settings can be defined as environment variables. For everything else mount the configuration files, as shown in our reference project: https://github.com/gentics/portal-php-reference/blob/newproject/docker-compose.override.yml.example