mirror of
https://github.com/nickyeoman/docker-compose-cookbooks.git
synced 2026-09-03 18:36:22 +00:00
refactored all to dev
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
# Vaultwarden
|
||||
|
||||
Dockerhub: https://hub.docker.com/r/vaultwarden/server
|
||||
Github: https://github.com/dani-garcia/vaultwarden
|
||||
Wiki: https://github.com/dani-garcia/vaultwarden/wiki
|
||||
|
||||
Reverse Proxy Port: 80
|
||||
|
||||
## Usage
|
||||
|
||||
[Disable new users](https://github.com/dani-garcia/bitwarden_rs/wiki/Disable-registration-of-new-users).
|
||||
|
||||
[SMTP](https://github.com/dani-garcia/bitwarden_rs/wiki/SMTP-configuration)
|
||||
|
||||
To enable the admin page, you need to set an authentication token. This token can be anything, but it's recommended to use a long, randomly generated string of characters, for example running openssl rand -base64 48.
|
||||
@@ -0,0 +1,17 @@
|
||||
services:
|
||||
vaultwarden:
|
||||
image: ${VAULT_IMAGE:-vaultwarden/server:latest}
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
WEBSOCKET_ENABLED: "${VAULT_WEBSOCKET_ENABLED:-true}" # Enable WebSocket notifications
|
||||
SIGNUPS_ALLOWED: "${VAULT_SIGNUPS_ALLOWED:-false}" # Disable new user signups
|
||||
DOMAIN: ${VAULT_DOMAIN:-example.com}
|
||||
ADMIN_TOKEN: "${VAULT_ADMIN_TOKEN:-changeme}"
|
||||
SMTP_HOST: ${SMTP_HOST:-smtp.example.com}
|
||||
SMTP_FROM: ${SMTP_FROM:-no-reply@example.com}
|
||||
SMTP_PORT: ${SMTP_PORT:-587}
|
||||
SMTP_SECURITY: ${SMTP_SECURITY:-tls}
|
||||
SMTP_USERNAME: ${SMTP_USERNAME:-smtp_user@example.com}
|
||||
SMTP_PASSWORD: ${SMTP_PASSWORD:-SuperSecretPassword123}
|
||||
volumes:
|
||||
- "${VOL_PATH:-./data}/vault-data:/data"
|
||||
@@ -0,0 +1,17 @@
|
||||
# VaultWarden
|
||||
PRODDIR=/var/www/stashdomain-com/ #HELP: project_path
|
||||
COOKBOOK=/home/user/git/docker-compose-cookbooks #HELP: cookbooks
|
||||
VOL_PATH=/project-dir/project-name/data #HELP: volpath
|
||||
# VaultWarden Container
|
||||
VAULT_DOMAIN_NAME=www.YourDomain.com
|
||||
VAULT_IMAGE=vaultwarden/server:1.31.0
|
||||
WEBSOCKET_ENABLED=true # Enable WebSocket notifications
|
||||
SIGNUPS_ALLOWED=false # Disable new user signups
|
||||
VAULT_ADMIN_TOKEN=01234567890123456790123456790123456789012345678 #HELP: gen32
|
||||
# SMTP
|
||||
SMTP_HOST=smtp.domain.tld
|
||||
SMTP_FROM=vaultwarden@domain.tld
|
||||
SMTP_PORT=587
|
||||
SMTP_SECURITY=starttls
|
||||
SMTP_USERNAME=username
|
||||
SMTP_PASSWORD=password
|
||||
Reference in New Issue
Block a user