1
0
mirror of https://github.com/xzeldon/vwdump.git synced 2025-07-17 06:46:10 +03:00

Quality of life improvements (#17)

- Removed quotation marks with mounting volumes in docker-compose section.
- Replaced INFO prefix with each echo with a timestamp.
  - Subsequently, echoes that have a timestamp at the end have been adjusted to remove them.
- When deleting, it first checks if there are files to delete.
  - An appropriate echo will be shown in both circumstances.
This commit is contained in:
jmqm
2021-07-17 14:39:17 -05:00
committed by GitHub
parent 0fb7abc0c1
commit 8573420236
4 changed files with 22 additions and 13 deletions

View File

@ -26,10 +26,10 @@ services:
image: jmqm/vaultwarden_backup:latest
container_name: vaultwarden_backup
volumes:
- "/vaultwarden_data_directory:/data:ro" # Read-only
- "/backup_directory:/backups"
- /vaultwarden_data_directory:/data:ro # Read-only
- /backup_directory:/backups
- "/etc/localtime:/etc/localtime:ro" # Container uses date from host.
- /etc/localtime:/etc/localtime:ro # Container uses date from host.
environment:
- DELETE_AFTER=30
- CRON_TIME=* */24 * * * # Runs at 12:00 AM.