I try to redirect vaultwarden.log logfile to /var/log/ or maybe /var/log/vaultwarden/
How to set environment variables and volumes ?
Currently using these settings concerning the log:
environment:
LOG_FILE: „/data/vaultwarden.log“
volumes:
- /opt/containers/vaultwarden/data:/data
Logfile will be in /opt/containers/vaultwarden/data/vaultwarden.log
Adding:
volumes:
- /opt/containers/vaultwarden/data:/data
- /var/log/vaultwarden.log:/data/vaultwarden.log
Wont‘t work. Containers even doesn‘t start.
Please help.
BR