mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-04-26 09:46:00 +03:00
[GH-ISSUE #2696] Logrotate on Docker installations #1351
Labels
No labels
SSO
Third party
better for forum
bug
bug
documentation
duplicate
enhancement
future Vault
future Vault
future Vault
good first issue
help wanted
low priority
notes
pull-request
question
troubleshooting
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/vaultwarden#1351
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @mzambrini on GitHub (Aug 20, 2022).
Original GitHub issue: https://github.com/dani-garcia/vaultwarden/issues/2696
Subject of the issue
Logrotate does not work on Docker installations
Your environment (Generated via diagnostics page)
Config (Generated via diagnostics page)
Show Running Config
Environment settings which are overridden: SIGNUPS_ALLOWED, INVITATIONS_ALLOWED, ADMIN_TOKEN, SMTP_HOST, SMTP_SECURITY, SMTP_PORT, SMTP_FROM, SMTP_USERNAME, SMTP_PASSWORD
Steps to reproduce
I wanted to configure vaultwarden to handle log rotation in my installation with Docker.
Following the instructions of the wiki (https://github.com/dani-garcia/vaultwarden/wiki/Logrotate-example) I added the following line to my docker-compose.yml file in the "volumes" section:
Expected behaviour
I expected the log file to be correctly rotated
Actual behaviour
The log file is never rotated.
Inspecting the Docker image and the sources on GitHub, I verified that the "logrotate" tool was not installed when creating the image