Fixed Vaultwarden .env
This commit is contained in:
@@ -1,11 +1,11 @@
|
|||||||
#General Settings
|
#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
|
#//Refer https://github.com/dani-garcia/vaultwarden/wiki/Enabling-admin-page#secure-the-admin_token
|
||||||
|
|
||||||
WEBSOCKET_ENABLED=true
|
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://bitwarden.example.com #replace example.com with your domain
|
DOMAIN='https://vaultwarden.ramberg.net' #replace example.com with your domain
|
||||||
|
|
||||||
# SMTP server configuration
|
# SMTP server configuration
|
||||||
#SMTP_HOST=smtp-relay.sendinblue.com
|
#SMTP_HOST=smtp-relay.sendinblue.com
|
||||||
@@ -8,7 +8,11 @@ services:
|
|||||||
container_name: vaultwarden
|
container_name: vaultwarden
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
environment:
|
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:
|
volumes:
|
||||||
- /home/rcadmin/docker/vaultwarden/data/:/data/
|
- /home/rcadmin/docker/vaultwarden/data/:/data/
|
||||||
ports:
|
ports:
|
||||||
|
|||||||
Reference in New Issue
Block a user