mirror of
https://github.com/Haxxnet/Compose-Examples
synced 2024-11-24 04:21:14 +00:00
29 lines
718 B
YAML
29 lines
718 B
YAML
---
|
|
version: "3.7"
|
|
|
|
services:
|
|
bitwarden:
|
|
container_name: bitwarden_unified
|
|
depends_on:
|
|
- db
|
|
env_file:
|
|
- settings.env
|
|
image: bitwarden/self-host:beta
|
|
restart: always
|
|
ports:
|
|
- "8888:8080"
|
|
volumes:
|
|
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/bitwarden-unified/data:/etc/bitwarden
|
|
|
|
db:
|
|
environment:
|
|
MARIADB_USER: "bitwarden"
|
|
MARIADB_PASSWORD: "Secure_MariaDB_Password1"
|
|
MARIADB_DATABASE: "bitwarden_vault"
|
|
MARIADB_RANDOM_ROOT_PASSWORD: "true"
|
|
image: mariadb:10
|
|
container_name: bitwarden_unified_db
|
|
restart: always
|
|
volumes:
|
|
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/bitwarden-unified/mariadb:/var/lib/mysql
|