File tree 1 file changed +11
-13
lines changed
examples/bitwarden-unified
1 file changed +11
-13
lines changed Original file line number Diff line number Diff line change 1
- ---
2
- version : " 3.7"
1
+ version : " 3.8"
3
2
4
3
services :
5
4
bitwarden :
5
+ image : bitwarden/self-host:2023.10.1-beta
6
6
container_name : bitwarden_unified
7
+ restart : always
7
8
depends_on :
8
- - db
9
+ - bitwarden-unified- db
9
10
env_file :
10
11
- settings.env
11
- image : bitwarden/self-host:beta
12
- restart : always
13
12
ports :
14
13
- " 8888:8080"
15
14
volumes :
16
15
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/bitwarden-unified/data:/etc/bitwarden
17
16
18
- db :
19
- environment :
20
- MARIADB_USER : " bitwarden"
21
- MARIADB_PASSWORD : " Secure_MariaDB_Password1"
22
- MARIADB_DATABASE : " bitwarden_vault"
23
- MARIADB_RANDOM_ROOT_PASSWORD : " true"
24
- image : mariadb:10
17
+ bitwarden-unified-db :
18
+ image : postgres:latest
25
19
container_name : bitwarden_unified_db
26
20
restart : always
21
+ environment :
22
+ POSTGRES_USER : " bitwarden"
23
+ POSTGRES_PASSWORD : " Secure_MariaDB_Password1"
24
+ POSTGRES_DB : " bitwarden_vault"
27
25
volumes :
28
- - ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/bitwarden-unified/mariadb :/var/lib/mysql
26
+ - ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/bitwarden-unified/psql :/var/lib/postgresql/data
You can’t perform that action at this time.
0 commit comments