Configuration of the Gentics Content Management Platform using Docker

Gentics CMS

To override and extend the default settings, mount files in the Gentics CMS configuration directory:

docker-compose.yml
(...)
  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:

include.conf
<?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.

Gentics Portal | java

Most settings can be defined as environment variables. For everything else mount a server.local.yml file into the portal config directory.

docker-compose.yml
(...)
  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.

Gentics Portal | php

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