mirror of
https://github.com/Haxxnet/Compose-Examples
synced 2024-11-24 12:31:13 +00:00
f35c0377f1
switch from mariadb to postgresql
27 lines
730 B
YAML
27 lines
730 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:latest
|
|
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
|