2023-11-06 17:14:47 +00:00
|
|
|
version: "3.8"
|
2023-02-15 21:45:31 +00:00
|
|
|
|
|
|
|
services:
|
|
|
|
bitwarden:
|
2023-11-06 17:14:47 +00:00
|
|
|
image: bitwarden/self-host:2023.10.1-beta
|
2023-02-15 21:45:31 +00:00
|
|
|
container_name: bitwarden_unified
|
2023-11-06 17:14:47 +00:00
|
|
|
restart: always
|
2023-02-15 21:45:31 +00:00
|
|
|
depends_on:
|
2023-11-06 17:14:47 +00:00
|
|
|
- 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:
|
2023-02-25 13:09:52 +00:00
|
|
|
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/bitwarden-unified/data:/etc/bitwarden
|
2023-02-15 21:45:31 +00:00
|
|
|
|
2023-11-06 17:14:47 +00:00
|
|
|
bitwarden-unified-db:
|
|
|
|
image: postgres:latest
|
2023-02-15 21:45:31 +00:00
|
|
|
container_name: bitwarden_unified_db
|
|
|
|
restart: always
|
2023-11-06 17:14:47 +00:00
|
|
|
environment:
|
|
|
|
POSTGRES_USER: "bitwarden"
|
|
|
|
POSTGRES_PASSWORD: "Secure_MariaDB_Password1"
|
|
|
|
POSTGRES_DB: "bitwarden_vault"
|
2023-02-15 21:45:31 +00:00
|
|
|
volumes:
|
2023-11-06 17:14:47 +00:00
|
|
|
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/bitwarden-unified/psql:/var/lib/postgresql/data
|