Configuration of the Gentics Content Management Platform using Docker

Table of Contents

Gentics CMS

To override and extend the default settings, mount files in the Gentics CMS configuration directory and set the CONF_FILES environment variable accordingly:

dokcer-compose.yml
(...)
  cms:
    (...)
    environment:
      CONF_FILES: cms
    volumes:
      - ./cms/cms-conf:/cms/conf
(...)
The above settings will use all *.yml files in the directory cms/conf/cms for the configuration. The 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.

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