-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yaml
43 lines (38 loc) · 1.04 KB
/
docker-compose.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
version: '3.9'
services:
vaultwarden:
image: vaultwarden/server:latest
container_name: vaultwarden
restart: unless-stopped
volumes:
- /opt/vw:/data
ports:
- "8081:80"
- "3012:3012"
environment:
ADMIN_TOKEN: ${VAULTWARDEN_ADMIN_TOKEN}
nginx-proxy:
image: 'jc21/nginx-proxy-manager:latest'
restart: unless-stopped
ports:
- '80:80' # Public HTTP Port
- '443:443' # Public HTTPS Port
- '81:81' # Admin Web Port
volumes:
- ./data:/data
- ./letsencrypt:/etc/letsencrypt
backup:
image: ttionya/vaultwarden-backup:latest
restart: always
volumes:
- /opt/vw:/bitwarden/data/
- vaultwarden-rclone-data:/config/
- ./vaultwarden-backup/:/.env
volumes:
vaultwarden-data:
# Specify the name of the volume where you save the vaultwarden data,
name: vaultwarden-data
vaultwarden-rclone-data:
external: true
# Specify the name of the volume where you save the rclone configuration,
name: vaultwarden-rclone-data