Fixed Vaultwarden .env
This commit is contained in:
@@ -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
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user