I have installed Vaultwarden in docker (docker-compose) with ease behind NPM.
It works finde, but for Securitypurpose I#d like to install fail2ban to have an Eye on the activities on Vaultwarden.
BUT therfore I need the Logfile of Vaultwarden.
as you may see below, I’ve provided Log_File in the environment
whenever i check the Settings in the admin-area in vaultwarden, the logfilepath stays empty.
all other settings keep updateing whenever I change them in the environment.
I don’t know what to try next
any ideas?
+++++++
here the docker-compose.yml:
version: “3”
services:
vaultwarden:
image: vaultwarden/server:latest
container_name: vaultwarden
restart: always
volumes:
- ./bw_data:/data:rw
networks:
proxy:
environment:
- ADMIN_TOKEN=${ADMIN_TOKEN}
- WEBSOCKET_ENABLED=true
- SIGNUPS_ALLOWED=false
- SMTP_HOST=${SMTP_HOST}
- SMTP_FROM=${SMTP_FROM}
- SMTP_PORT=${SMTP_PORT}
- SMTP_SSL=${SMTP_SSL}
- SMTP_USERNAME=${SMTP_USERNAME}
- SMTP_PASSWORD=${SMTP_PASSWORD}
- DOMAIN=${DOMAIN}
- TZ=Europe/Berlin
- LOG_FILE=/data/access.log
- LOG_LEVEL=warn
- EXTENDED_LOGGING=true
networks:
proxy:
external: true
name: ngnix-proxy-manager_default