compose/bitwarden/docker-compose.yml

25 lines
1012 B
YAML
Raw Normal View History

2024-08-21 09:44:50 -03:00
version: "3.6"
services:
vaultwarden:
image: vaultwarden/server:latest
container_name: vaultwarden
restart: always
environment:
DOMAIN: "https://bitwarden.shoebottom.ca" # required when using a reverse proxy; your domain; vaultwarden needs to know it's https to work properly with attachments
2024-08-21 09:55:09 -03:00
SIGNUPS_ALLOWED: "false" # Deactivate this with "false" after you have created your account so that no strangers can register
2024-08-21 09:44:50 -03:00
volumes:
- /docker/appdata/bitwarden/vaultwarden:/data # the path before the : can be changed
ports:
- 11001:80 # you can replace the 11001 with your preferred port
bitwarden-sync:
image: martadams89/bitwarden-sync:latest
container_name: bitwarden-sync
restart: always
2024-08-21 09:45:52 -03:00
env_file:
- ../stack.env
2024-08-21 09:44:50 -03:00
environment:
2024-08-21 10:12:21 -03:00
- CRON_SCHEDULE=0 */12 * * *
2024-08-21 09:44:50 -03:00
- BW_SERVER_SOURCE=https://bitwarden.shoebottom.ca
- BW_SERVER_DEST=https://vault.bitwarden.com
volumes:
- /docker/appdata/bitwarden/sync:/app/backups