Parcourir la source

Update 'vaultwarden'

Laurie Summers il y a 1 an
Parent
commit
bb5dfb6b9d
1 fichiers modifiés avec 9 ajouts et 3 suppressions
  1. 9 3
      vaultwarden

+ 9 - 3
vaultwarden

@@ -10,14 +10,20 @@ docker run -d --name vaultwarden \
   -e SMTP_HOST=mail.lauriesummers.co.uk \
   -e SMTP_FROM=laurie3@lauriesummers.co.uk \
   -e SMTP_PORT=587 \
-  -e SMTP_SECURITY=starttls \
+  -e SMTP_SECURITY=off \
   -e SMTP_USERNAME=laurie3.lauriesummers \
   -e SMTP_PASSWORD=2hillview2018! \
+  -e ADMIN_TOKEN='B6%ey8xd@vB!hD' \
   -v /home/pi/Docker/vaultwarden/vw-data/:/data/ \
-  -p 80:80 \
+  -p 83:80 \
+  -dns: 1.1.1.1 \
   vaultwarden/server:latest
     
-I had to set SMTP_SECURITY=off to get this to work
+I had to set SMTP_SECURITY=off to get this to work and also use dns.
+
+ADMIN_TOKEN can be set if you need to access the admin panel as per this link.
+https://github.com/dani-garcia/vaultwarden/wiki/Enabling-admin-page
+I have enabled to changed from localhost but then re-ran container without token.