Docker

1 Gentics CMS Docker Compose Stack

Please use the Gentics CMS Docker Compose Stack provided at https://github.com/gentics/cms-compose for running Gentics CMS.

2 Example usage

when not using the Gentics CMS Docker Compose Stack

 
docker network create genticscms
docker run -d --name db --net genticscms -e MYSQL_RANDOM_ROOT_PASSWORD=true -e MYSQL_DATABASE=node_utf8 -e MYSQL_USER=node -e MYSQL_PASSWORD=node mariadb:10.3 --sql-mode=""
docker run -d -p 8080:80 --net genticscms --name cms -e NODE_DB_HOST=db docker.apa-it.at/gentics/cms:5.33

3 Configuration

3.1 Environment variables

Variable Default Description
CONFIG_ACCESS_SUBNET 127.0.0.0/8 The network allowed to fetch the config via /.Node/?do=24
ADD_JAVA_OPTS Additional java options
JAVA_XMS 1024m Initial JVM memory allocation pool
JAVA_XMX 1024m Maximum JVM memory allocation pool
LICENSEKEY 1111-1111-1111-1111-1111-1111-1111-1111 GCMS License key
NODE_DB_HOST localhost MySQL host
NODE_DB_PORT 3306 MySQL port
NODE_DB_USER node MySQL user
NODE_DB_PASSWORD node MySQL password
NODE_DB node_utf8 MySQL database name
NODE_DB_CONNECT_TIMEOUT 60 Time in seconds to wait for the database to be reachable before exiting with an error
NODE_USER_PASSWORD Password to set for the node CMS user

3.2 Volumes

Volume path Description
/Node/node Binary database files and files that should be persisted, should be mount as named Docker volume