Docker container for a Cronicle single-server master node
latestDockerfileletsencryptDockerfile.letsencrypt
Latest version of Cronicle server based upon nodejs Docker image.
Same as the latest Docker image, but with support for Let's Encrypt
certificates. Which means that the Cronicle server can be used with SSL and a
Let's Encrypt certificate. If this is not needed, just use the tag latest.
docker pull intelliops/cronicle:latestdocker run --name cronicle --hostname localhost -p 3012:3012 intelliops/cronicle:latestAlternatively with persistent data and logs:
docker run --name cronicle \
-v /path-to-cronicle-storage/data:/opt/cronicle/data:rw \
-v /path-to-cronicle-storage/logs:/opt/cronicle/logs:rw \
--hostname localhost -p 3012:3012 intelliops/cronicle:latestThe web UI will be available at: http://localhost:3012
NOTE: please replace the hostname
localhost, this is only for testing purposes! If you rename the hostname also consider setting the environmental variableBASE_APP_URL.
| Path | Description |
|---|---|
| /opt/cronicle/data | Volume for data |
| /opt/cronicle/logs | Volume for logs |
| Environmental variable | Description | Default value |
|---|---|---|
| WEB_SOCKET_USE_HOSTNAMES | Setting this parameter to 1 will force Cronicle's Web UI to connect to the back-end servers using their hostnames rather than IP addresses. This includes both AJAX API calls and Websocket streams. |
1 |
| SERVER_COMM_USE_HOSTNAMES | Setting this parameter to 1 will force the Cronicle servers to connect to each other using hostnames rather than LAN IP addresses. |
1 |
| WEBSERVER_HTTP_PORT | The HTTP port for the web UI of your Cronicle server. (Keep default value, unless you know what you are doing) | 3012 |
| WEBSERVER_HTTPS_PORT | The SSL port for the web UI of your Cronicle server. (Keep default value, unless you know what you are doing) | 443 |
| BASE_APP_URL | A fully-qualified URL to Cronicle on your server, including the port if non-standard. This is used for self-referencing URLs. | http://${HOSTNAME}:${WEBSERVER_HTTP_PORT} |
A custom configuration file can be provide in the following location:
/path-to-cronicle-storage/data/config.json.importThe file will get loaded the very first time Cronicle is started. If afterwards a forced reload of the custom configuration is needed remove the following file and restart the Docker container:
/path-to-cronicle-storage/data/.setup_doneThe default credentials for the web interface are: admin / admin