mirror of
https://github.com/mr-vercetti/homeserver.git
synced 2025-01-18 16:25:35 +01:00
Add bitwarden
This commit is contained in:
parent
804148f2ed
commit
f56294dff8
@ -23,3 +23,7 @@ DB_PW=
|
||||
WG_URL=
|
||||
WG_PEERS=
|
||||
WG_ALLOWEDIPS=
|
||||
|
||||
# bittwarden
|
||||
BW_URL=
|
||||
BW_ADMIN_TOKEN=
|
||||
|
28
docker/stacks/bitwarden/bitwarden.yml
Normal file
28
docker/stacks/bitwarden/bitwarden.yml
Normal 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
|
Loading…
Reference in New Issue
Block a user