Added startup files
This commit is contained in:
24
vaultwarden/.env
Normal file
24
vaultwarden/.env
Normal file
@@ -0,0 +1,24 @@
|
||||
#General Settings
|
||||
ADMIN_TOKEN= # 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
|
||||
#DOMAIN=https://bitwarden.example.com #replace example.com with your domain
|
||||
DOMAIN=https://bitwarden.example.com #replace example.com with your domain
|
||||
|
||||
# SMTP server configuration
|
||||
#SMTP_HOST=smtp-relay.sendinblue.com
|
||||
#SMTP_FROM=user@example.com ##replace example.com with your domain
|
||||
#SMTP_TIMEOUT=15
|
||||
#SMTP_USERNAME=user@example.com ##sendinblue user
|
||||
#SMTP_PASSWORD=sendinblue password
|
||||
#SMTP_SECURITY=starttls # Options: off, force_tls, starttls
|
||||
#SMTP_PORT=587
|
||||
|
||||
## Choose the type of secure connection for SMTP. The default is "starttls".
|
||||
## The available options are:
|
||||
## - "starttls": The default port is 587.
|
||||
## - "force_tls": The default port is 465.
|
||||
## - "off": The default port is 25.
|
||||
## Ports 587 (submission) and 25 (smtp) are standard without encryption and with encryption via STARTTLS (Explicit TLS). Port 465 (submissions) is used for encrypted submission (Implicit TLS).
|
||||
29
vaultwarden/docker-compose.yml
Normal file
29
vaultwarden/docker-compose.yml
Normal file
@@ -0,0 +1,29 @@
|
||||
version: "3"
|
||||
services:
|
||||
vaultwarden:
|
||||
image: vaultwarden/server:latest
|
||||
container_name: vaultwarden
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- 9445:80 #map any custom port to use (replace 9445 not 80)
|
||||
volumes:
|
||||
- ./bitwarden:/data:rw
|
||||
environment:
|
||||
# - ROCKET_TLS={certs="/ssl/certs/certs.pem",key="/ssl/private/key.pem"} // Environment variable is specific to the Rocket web server
|
||||
- ADMIN_TOKEN=${ADMIN_TOKEN}
|
||||
- WEBSOCKET_ENABLED=true
|
||||
- SIGNUPS_ALLOWED=false
|
||||
- SMTP_HOST=${SMTP_HOST}
|
||||
- SMTP_FROM=${SMTP_FROM}
|
||||
- SMTP_PORT=${SMTP_PORT}
|
||||
- SMTP_SECURITY=${SMTP_SECURITY}
|
||||
- SMTP_TIMEOUT=${SMTP_TIMEOUT}
|
||||
- SMTP_USERNAME=${SMTP_USERNAME}
|
||||
- SMTP_PASSWORD=${SMTP_PASSWORD}
|
||||
- DOMAIN=${DOMAIN}
|
||||
|
||||
#uncomment below network part if you are using Nginx Proxy Manager, or you can remove the same
|
||||
#networks:
|
||||
# default:
|
||||
# external:
|
||||
# name: nginx-proxy-network
|
||||
Reference in New Issue
Block a user