diff --git a/src/constants.js b/src/constants.js index 173d8663c..135082882 100644 --- a/src/constants.js +++ b/src/constants.js @@ -43,6 +43,7 @@ exports = module.exports = { POSTGRESQL_SERVICE_IPv4: '172.18.30.2', MONGODB_SERVICE_IPv4: '172.18.30.3', MAIL_SERVICE_IPv4: '172.18.30.4', + GRAPHITE_SERVICE_IPv4: '172.18.30.5', NGINX_DEFAULT_CONFIG_FILE_NAME: 'default.conf', diff --git a/src/services.js b/src/services.js index 1079bc783..66157d87c 100644 --- a/src/services.js +++ b/src/services.js @@ -1778,6 +1778,7 @@ async function startGraphite(existingInfra) { --log-opt tag=graphite \ -m ${memoryLimit} \ --memory-swap -1 \ + --ip ${constants.GRAPHITE_SERVICE_IPv4} \ -p 127.0.0.1:2003:2003 \ -v ${paths.PLATFORM_DATA_DIR}/graphite:/var/lib/graphite \ --label isCloudronManaged=true \