mirror of
https://github.com/mr-vercetti/homeserver.git
synced 2025-01-18 16:25:35 +01:00
Fix bitwarden so it doesn't run as root
This commit is contained in:
parent
f56294dff8
commit
78df849976
@ -2,22 +2,22 @@ services:
|
|||||||
bitwarden:
|
bitwarden:
|
||||||
image: vaultwarden/server
|
image: vaultwarden/server
|
||||||
container_name: bitwarden
|
container_name: bitwarden
|
||||||
|
user: ${PUID}:${PGID}
|
||||||
networks:
|
networks:
|
||||||
- bitwarden
|
- bitwarden
|
||||||
- proxy
|
- proxy
|
||||||
environment:
|
environment:
|
||||||
- PUID=${PUID}
|
|
||||||
- PGID=${PGID}
|
|
||||||
- TZ=${TIMEZONE}
|
- TZ=${TIMEZONE}
|
||||||
- DOMAIN=${BW_URL}
|
- DOMAIN=${BW_URL}
|
||||||
- WEBSOCKET_ENABLED=true
|
- WEBSOCKET_ENABLED=true
|
||||||
- SIGNUPS_ALLOWED=false
|
- SIGNUPS_ALLOWED=false
|
||||||
- ADMIN_TOKEN=${BW_ADMIN_TOKEN}
|
- ADMIN_TOKEN=${BW_ADMIN_TOKEN}
|
||||||
- LOG_FILE=/data/log/bitwarden.log
|
- LOG_FILE=/data/log/bitwarden.log
|
||||||
|
- ROCKET_PORT=8080
|
||||||
volumes:
|
volumes:
|
||||||
- ${APPS_DIR}/bitwarden:/data
|
- ${APPS_DIR}/bitwarden:/data
|
||||||
ports:
|
ports:
|
||||||
- 8080:80
|
- 8080:8080
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
|
Loading…
Reference in New Issue
Block a user