Add bitwarden

This commit is contained in:
mr-vercetti 2022-02-06 21:52:15 +00:00
parent 804148f2ed
commit f56294dff8
2 changed files with 32 additions and 0 deletions

View File

@ -23,3 +23,7 @@ DB_PW=
WG_URL=
WG_PEERS=
WG_ALLOWEDIPS=
# bittwarden
BW_URL=
BW_ADMIN_TOKEN=

View File

@ -0,0 +1,28 @@
services:
bitwarden:
image: vaultwarden/server
container_name: bitwarden
networks:
- bitwarden
- proxy
environment:
- PUID=${PUID}
- PGID=${PGID}
- TZ=${TIMEZONE}
- DOMAIN=${BW_URL}
- WEBSOCKET_ENABLED=true
- SIGNUPS_ALLOWED=false
- ADMIN_TOKEN=${BW_ADMIN_TOKEN}
- LOG_FILE=/data/log/bitwarden.log
volumes:
- ${APPS_DIR}/bitwarden:/data
ports:
- 8080:80
restart: unless-stopped
networks:
proxy:
external:
name: proxy
bitwarden:
name: bitwarden