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

27 lines
734 B
YAML
Raw Normal View History

version: "3.8"
2023-02-15 21:45:31 +00:00
services:
bitwarden:
image: bitwarden/self-host:2023.10.1-beta
2023-02-15 21:45:31 +00:00
container_name: bitwarden_unified
restart: always
2023-02-15 21:45:31 +00:00
depends_on:
- bitwarden-unified-db
2023-02-15 21:45:31 +00:00
env_file:
- settings.env
ports:
2023-02-19 18:18:04 +00:00
- "8888:8080"
2023-02-15 21:45:31 +00:00
volumes:
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/bitwarden-unified/data:/etc/bitwarden
2023-02-15 21:45:31 +00:00
bitwarden-unified-db:
image: postgres:alpine3.18
2023-02-15 21:45:31 +00:00
container_name: bitwarden_unified_db
restart: always
environment:
POSTGRES_USER: "bitwarden"
POSTGRES_PASSWORD: "Secure_MariaDB_Password1"
POSTGRES_DB: "bitwarden_vault"
2023-02-15 21:45:31 +00:00
volumes:
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/bitwarden-unified/psql:/var/lib/postgresql/data