mirror of
https://github.com/Haxxnet/Compose-Examples
synced 2024-11-30 15:31:12 +00:00
27 lines
734 B
YAML
27 lines
734 B
YAML
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
|