mirror of
https://github.com/Haxxnet/Compose-Examples.git
synced 2025-12-16 20:08:29 +01:00
Update docker-compose.yml
This commit is contained in:
@@ -1,8 +1,8 @@
|
|||||||
services:
|
services:
|
||||||
|
|
||||||
bitwarden:
|
bitwarden:
|
||||||
image: bitwarden/self-host:2024.8.0-beta
|
image: ghcr.io/bitwarden/lite
|
||||||
container_name: bitwarden_unified
|
container_name: bitwarden-lite
|
||||||
restart: always
|
restart: always
|
||||||
depends_on:
|
depends_on:
|
||||||
- db
|
- db
|
||||||
@@ -13,8 +13,8 @@ services:
|
|||||||
expose:
|
expose:
|
||||||
- 8080
|
- 8080
|
||||||
volumes:
|
volumes:
|
||||||
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/bitwarden-unified/data:/etc/bitwarden
|
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/bitwarden-lite/data:/etc/bitwarden
|
||||||
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/bitwarden-unified/data/logs:/var/log/bitwarden
|
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/bitwarden-lite/data/logs:/var/log/bitwarden
|
||||||
#networks:
|
#networks:
|
||||||
# - proxy
|
# - proxy
|
||||||
#labels:
|
#labels:
|
||||||
@@ -32,14 +32,14 @@ services:
|
|||||||
|
|
||||||
db:
|
db:
|
||||||
image: postgres:alpine3.18
|
image: postgres:alpine3.18
|
||||||
container_name: bitwarden_unified_db
|
container_name: bitwarden-lite-db
|
||||||
restart: always
|
restart: always
|
||||||
environment:
|
environment:
|
||||||
POSTGRES_USER: "bitwarden"
|
POSTGRES_USER: "bitwarden"
|
||||||
POSTGRES_PASSWORD: "super_strong_password"
|
POSTGRES_PASSWORD: "super_strong_password"
|
||||||
POSTGRES_DB: "bitwarden_vault"
|
POSTGRES_DB: "bitwarden_vault"
|
||||||
volumes:
|
volumes:
|
||||||
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/bitwarden-unified/psql:/var/lib/postgresql/data
|
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/bitwarden-lite/psql:/var/lib/postgresql/data
|
||||||
#networks:
|
#networks:
|
||||||
# - proxy
|
# - proxy
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user