Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Homer 7 at Docker - Rotate logs #654

Closed
pablohssilva opened this issue Aug 1, 2024 · 2 comments
Closed

Homer 7 at Docker - Rotate logs #654

pablohssilva opened this issue Aug 1, 2024 · 2 comments

Comments

@pablohssilva
Copy link

pablohssilva commented Aug 1, 2024

Hi.
How can I do to clean a postgresql database without crash the aplication?

Is there a less invasive way?

I saw that there is an option in the homer WEB page "Admin Settings > Reset > Local Storage" Would this button be used to clean the logs sent by HEPlify?

I need a way to rotate these logs.

My scenario:
I installed homer 7 from the link:
https://github.com/sipcapture/homer/wiki/Quick-Install#-docker-install

Then I downloaded "HEPlify: https://github.com/sipcapture/heplify/releases" on another host to send the packages to homer

Copy link

github-actions bot commented Aug 1, 2024

Please star this repository to motivate the developers and to get higher priority! ⭐

@bilalrao12
Copy link

@pablohssilva Below ENVs in heplify-server container can be used to rotate the homer data in postgresql.

  • "HEPLIFYSERVER_DBROTATE=true"
  • "HEPLIFYSERVER_DBDROPDAYS=5"
  • "HEPLIFYSERVER_DBDROPONSTART=true"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants