mirror of
https://github.com/Haxxnet/Compose-Examples.git
synced 2025-11-24 01:14:27 +01:00
rename bitwarden-unified
This commit is contained in:
7
examples/bitwarden/README.md
Normal file
7
examples/bitwarden/README.md
Normal file
@@ -0,0 +1,7 @@
|
||||
# References
|
||||
|
||||
- https://bitwarden.com/help/install-and-deploy-unified-beta/
|
||||
|
||||
# Note
|
||||
|
||||
Does not work with MariaDB at the moment. See https://github.com/bitwarden/server/issues/2718
|
||||
26
examples/bitwarden/docker-compose.yml
Normal file
26
examples/bitwarden/docker-compose.yml
Normal file
@@ -0,0 +1,26 @@
|
||||
version: "3.8"
|
||||
|
||||
services:
|
||||
bitwarden:
|
||||
image: bitwarden/self-host:2023.10.1-beta
|
||||
container_name: bitwarden_unified
|
||||
restart: always
|
||||
depends_on:
|
||||
- bitwarden-unified-db
|
||||
env_file:
|
||||
- settings.env
|
||||
ports:
|
||||
- "8888:8080"
|
||||
volumes:
|
||||
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/bitwarden-unified/data:/etc/bitwarden
|
||||
|
||||
bitwarden-unified-db:
|
||||
image: postgres:alpine3.18
|
||||
container_name: bitwarden_unified_db
|
||||
restart: always
|
||||
environment:
|
||||
POSTGRES_USER: "bitwarden"
|
||||
POSTGRES_PASSWORD: "Secure_MariaDB_Password1"
|
||||
POSTGRES_DB: "bitwarden_vault"
|
||||
volumes:
|
||||
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/bitwarden-unified/psql:/var/lib/postgresql/data
|
||||
61
examples/bitwarden/settings.env
Normal file
61
examples/bitwarden/settings.env
Normal file
@@ -0,0 +1,61 @@
|
||||
#####################
|
||||
# Required Settings #
|
||||
#####################
|
||||
|
||||
# Server hostname
|
||||
BW_DOMAIN=bitwarden.example.com
|
||||
|
||||
# Database
|
||||
# Available providers are sqlserver, postgresql, or mysql/mariadb
|
||||
BW_DB_PROVIDER=postgresql
|
||||
BW_DB_SERVER=db
|
||||
BW_DB_DATABASE=bitwarden_vault
|
||||
BW_DB_USERNAME=bitwarden
|
||||
BW_DB_PASSWORD=Secure_MariaDB_Password1
|
||||
|
||||
# Installation information
|
||||
# Get your ID and key from https://bitwarden.com/host/
|
||||
BW_INSTALLATION_ID=xxxxxxxx-xxxxxxxx-xxxxxxxxx-xxxxxxxxxxx # change this !!!
|
||||
BW_INSTALLATION_KEY=MyInstallationkey # change this !!!
|
||||
|
||||
#####################
|
||||
# Optional Settings #
|
||||
#####################
|
||||
# Learn more here: https://bitwarden.com/help/environment-variables/
|
||||
|
||||
# SSL
|
||||
#BW_ENABLE_SSL=true
|
||||
#BW_ENABLE_SSL_CA=true
|
||||
#BW_SSL_CERT=ssl.crt
|
||||
#BW_SSL_KEY=ssl.key
|
||||
#BW_SSL_CA_CERT=ca.crt
|
||||
|
||||
# Services
|
||||
# Some services, namely for enterprise use cases, are disabled by default. Defaults shown below.
|
||||
#BW_ENABLE_ADMIN=true
|
||||
#BW_ENABLE_API=true
|
||||
#BW_ENABLE_EVENTS=false
|
||||
#BW_ENABLE_ICONS=true
|
||||
#BW_ENABLE_IDENTITY=true
|
||||
#BW_ENABLE_NOTIFICATIONS=true
|
||||
#BW_ENABLE_SCIM=false
|
||||
#BW_ENABLE_SSO=false
|
||||
|
||||
#BW_ICONS_PROXY_TO_CLOUD=false
|
||||
|
||||
# Mail
|
||||
#globalSettings__mail__replyToEmail=noreply@$BW_DOMAIN
|
||||
#globalSettings__mail__smtp__host=smtphost.example.com
|
||||
#globalSettings__mail__smtp__port=587
|
||||
#globalSettings__mail__smtp__ssl=false
|
||||
#globalSettings__mail__smtp__username=smtpusername
|
||||
#globalSettings__mail__smtp__password=smtppassword
|
||||
|
||||
# Yubikey
|
||||
#globalSettings__yubico__clientId=REPLACE
|
||||
#globalSettings__yubico__key=REPLACE
|
||||
|
||||
# Other
|
||||
#globalSettings__disableUserRegistration=true
|
||||
#globalSettings__hibpApiKey=REPLACE
|
||||
#adminSettings__admins="admin1@email.com,admin2@email.com"
|
||||
Reference in New Issue
Block a user