Compose-Examples/examples/bitwarden-unified/docker-compose.yml

29 lines
666 B
YAML
Raw Normal View History

2023-02-15 21:45:31 +00:00
---
2023-02-19 18:07:19 +00:00
version: "3.7"
2023-02-15 21:45:31 +00:00
services:
bitwarden:
container_name: bitwarden_unified
depends_on:
- db
env_file:
- settings.env
image: bitwarden/self-host:beta
restart: always
ports:
2023-02-19 18:18:04 +00:00
- "8888:8080"
2023-02-15 21:45:31 +00:00
volumes:
- /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:
- /mnt/docker-volumes/bitwarden-unified/mariadb:/var/lib/mysql