Run CMS in a Docker container.
- Edit the environment variables in
docker-compose.yaml
and the configuration files underconfig/
to reflect your desired environment configuration. docker-compose run --rm admin /init.sh
(make sure you write down the generated admin password)docker-compose up admin
and configure your contest(s).docker-compose up
- Running a worker in Docker is not recommended because it induces run-time variability and requires running the container in privileged mode.
- Due to the nature of Docker networking and DNS resolution of container hostnames, running worker nodes on dedicated hosts outside of the Docker network is possible only if the hostnames of the CMS containers (
core
,contest
,admin
,db
) are statically mapped in each worker host's/etc/hosts
file to the Docker machine's exterior-facing IP address.