diff --git a/vaultwarden/docker-compose.yml b/vaultwarden/docker-compose.yml index b56049c..9a3cab7 100644 --- a/vaultwarden/docker-compose.yml +++ b/vaultwarden/docker-compose.yml @@ -4,17 +4,25 @@ services: image: vaultwarden/server:latest container_name: vaultwarden environment: - SIGNUPS_ALLOWED: 'false' # set to false to disable signups - INVITATIONS_ALLOWED: 'false' # set to false to disable invitations - ADMIN_TOKEN: 'TOKEN' + TZ: 'Europe/Berlin' DOMAIN: 'https:///domain.tld' + # Disable signups + SIGNUPS_ALLOWED: 'false' + # Disable invitations + INVITATIONS_ALLOWED: 'false' + # Enable admin page and create token via a temporary container + # docker run --rm -it vaultwarden/server /vaultwarden hash + ADMIN_TOKEN: 'TOKEN' # Cache time-to-live for successfully obtained icons, in seconds (0 is "forever") ICON_CACHE_TTL: 0 ICON_SERVICE: 'internal' DISABLE_ICON_DOWNLOAD: 'true' - # LOG_LEVEL: 'debug' + # Set log settings for fail2ban + LOG_LEVEL: 'info' + EXTENDED_LOGGING: 'true' + LOG_FILE: '/data/vaultwarden.log' volumes: - ./volumes/data:/data ports: - - "127.0.0.1:11080:80" + - "127.0.0.1:8081:80" restart: unless-stopped