mirror of
https://github.com/caprover/caprover
synced 2026-05-03 10:10:29 +00:00
Merge pull request #2362 from rklos/anonymise-ips
Run build / build (push) Has been cancelled
Run formatter / check-code-formatting (push) Has been cancelled
Run lint / run-lint (push) Has been cancelled
Build and push the edge image / run-pre-checks (push) Has been cancelled
Build and push the edge image / build-publish-docker-hub (push) Has been cancelled
Run build / build (push) Has been cancelled
Run formatter / check-code-formatting (push) Has been cancelled
Run lint / run-lint (push) Has been cancelled
Build and push the edge image / run-pre-checks (push) Has been cancelled
Build and push the edge image / build-publish-docker-hub (push) Has been cancelled
Add support for new ANONYMIZE_IP env in goAccess
This commit is contained in:
@@ -464,6 +464,10 @@ router.get('/goaccess/:appName/files/:file', async function (req, res, next) {
|
||||
key: 'FILE_PREFIX',
|
||||
value: `${appName}--${domainName}`,
|
||||
},
|
||||
{
|
||||
key: 'ANONYMIZE_IP',
|
||||
value: CaptainConstants.configs.goAccessAnonymizeIP.toString(),
|
||||
},
|
||||
],
|
||||
sticky: false,
|
||||
wait: true,
|
||||
|
||||
@@ -748,6 +748,10 @@ class CaptainManager {
|
||||
goAccessInfo.data.logRetentionDays ?? 180
|
||||
).toString(),
|
||||
},
|
||||
{
|
||||
key: 'ANONYMIZE_IP',
|
||||
value: CaptainConstants.configs.goAccessAnonymizeIP.toString(),
|
||||
},
|
||||
],
|
||||
[],
|
||||
['apparmor:unconfined'],
|
||||
|
||||
@@ -39,7 +39,9 @@ const configs = {
|
||||
|
||||
netDataImageName: 'caprover/netdata:v1.34.1',
|
||||
|
||||
goAccessImageName: 'caprover/goaccess:1.9.3',
|
||||
goAccessImageName: 'caprover/goaccess:1.9.4',
|
||||
|
||||
goAccessAnonymizeIP: false,
|
||||
|
||||
registryImageName: 'registry:2',
|
||||
|
||||
|
||||
Reference in New Issue
Block a user