Skip to content

Instantly share code, notes, and snippets.

@kartolo
Created June 13, 2020 20:05
Show Gist options
  • Save kartolo/effce7e279c47e09a21bb0813815b518 to your computer and use it in GitHub Desktop.
Save kartolo/effce7e279c47e09a21bb0813815b518 to your computer and use it in GitHub Desktop.
docker compose for bitwardenrs on synology
# docker-compose.yml
version: '3'
services:
bitwarden_rs:
image: bitwardenrs/server:latest
container_name: bitwarden_rs
restart: unless-stopped
volumes:
- /volume2/docker/bitwardenrs:/data
ports:
- '33012:3012'
- '33080:80'
environment:
WEBSOCKET_ENABLED: 'true' # Required to use websockets
LOG_FILE: /data/logs/bitwarden.log
EXTENDED_LOGGING: 'true'
LOG_LEVEL: 'warn'
bitwarden_backup:
image: bruceforce/bw_backup:latest
container_name: bitwarden_backup
restart: unless-stopped
volumes:
- /volume2/docker/bitwardenrs:/data
environment:
UID: '0'
GID: '0'
DELETE_AFTER: '7'
CRON_TIME: '0 5 * * *'
TIMESTAMP: 'true'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment