Fixed Vaultwarden .env

This commit is contained in:
2025-10-08 16:51:27 +00:00
parent 1a86b732a0
commit f2b580ed70
2 changed files with 8 additions and 4 deletions

View File

@@ -1,11 +1,11 @@
#General Settings
ADMIN_TOKEN= # randomly generated string of characters, for example running openssl rand -base64 48
ADMIN_TOKEN='HFoztERqAoXreBf7yM0NPbKhTguKoVDpKm4NIWVhiegIbuZKAzhr1ITTJdyCIFII' # randomly generated string of characters, for example running openssl rand -base64 48
#//Refer https://github.com/dani-garcia/vaultwarden/wiki/Enabling-admin-page#secure-the-admin_token
WEBSOCKET_ENABLED=true
SIGNUPS_ALLOWED=true ##change to false once create the admin account
SIGNUPS_ALLOWED=false ##change to false once create the admin account
#DOMAIN=https://bitwarden.example.com #replace example.com with your domain
DOMAIN=https://bitwarden.example.com #replace example.com with your domain
DOMAIN='https://vaultwarden.ramberg.net' #replace example.com with your domain
# SMTP server configuration
#SMTP_HOST=smtp-relay.sendinblue.com

View File

@@ -8,7 +8,11 @@ services:
container_name: vaultwarden
restart: unless-stopped
environment:
DOMAIN: "https://vaultwarden.ramberg.net"
# DOMAIN: "https://vaultwarden.ramberg.net"
- DOMAIN=${DOMAIN}
- ADMIN_TOKEN=${ADMIN_TOKEN}
- WEBSOCKET_ENABLED=${WEBSOCKET_ENABLED}
- SIGNUPS_ALLOWED=${SIGNUPS_ALLOWED}
volumes:
- /home/rcadmin/docker/vaultwarden/data/:/data/
ports: