(...)
cms:
(...)
volumes:
- ./cms/cms-config/include.conf:/Node/etc/conf.d/include.conf
- ./cms/cms-config/include:/Node/etc/conf.d/extraconfig
(...)
To override and extend the default settings, mount files in the Gentics CMS configuration directory:
(...)
cms:
(...)
volumes:
- ./cms/cms-config/include.conf:/Node/etc/conf.d/include.conf
- ./cms/cms-config/include:/Node/etc/conf.d/extraconfig
(...)
Use this for your cms/cms-config/include.conf file:
<?php
foreach (glob(dirname(__FILE__) . "/extraconfig/*.conf") as $gtx_include_filename) {
include $gtx_include_filename;
}
All *.conf files in the folder cms/cms-config/include will be used for 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