Automated build of docker graphite-web image
1.6K
The following tweaks are made available in the docker-entrypoint.sh in order to ease the customization of the graphite-web configuration at docker containers startup.
Defining this Environment variable will allow the overwriting of the default configuration of the graphite-web CARBONLINK_HOSTS setting under /etc/graphite/local_settings.py
Setting the value to "AUTOLINK" will cause the init-script to auto discover the carbon-cache instances linked to this graphite-web container (containing "carboncache" in the names) and set them as CARBONLINK_HOSTS under /etc/graphite/local_settings.py with ports 7002.
Setting the value to any other string (such as "["10.3.4.5:7002", "10.3.4.6:7002"]") will overwrite the CARBONLINK_HOSTS setting under /etc/graphite/local_settings.py with the exact string value.
Defining this Environment variable with a non-empty value (such as "["10.3.4.5:80", "10.3.4.6:80", "10.3.4.5:81", "10.3.4.6:81"]) will automatically overwrite the default CLUSTER_SERVERS setting under /etc/graphite/local_settings.py with the exact string value.
Defining both of these Environment variables with a non-empty value (such as "3200" and "128") will automatically set the following configurations under /etc/apache2/apache2.conf which will help improve the query performance under load.
Defining both of these Environment variables with a non-empty value (such as "250" and "5" depending on the machine cpu) will automatically set the following configurations under /etc/apache2/sites-enabled/graphite.conf which will help improve the query performance under load.
Defining this Environment variable (regardless of the value) allows the explicit logging of the steps performed by the initialization script to the container stdout.
Content type
Image
Digest
Size
206.1 MB
Last updated
almost 11 years ago
docker pull nuancemobility/graphite-web