graphite: static IP

this allows some predictible connectivity from apps to play around
This commit is contained in:
Girish Ramakrishnan
2025-03-03 17:06:09 +01:00
parent 78e835dd5f
commit a669144d16
2 changed files with 2 additions and 0 deletions

View File

@@ -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',

View File

@@ -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 \