summarylogtreecommitdiffstats
path: root/bitwarden-web.service
blob: fde2c7356294b3bd776f86c4ea8fd34fc9a4de4a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
[Unit]
Description=Bitwarden Web
PartOf=bitwarden-server.service
After=bitwarden-server.service

[Service]
ExecStart=/usr/bin/docker run --rm --name bitwarden-web \
  --env-file /etc/bitwarden/uid.env \
  --volume /var/lib/bitwarden/web:/etc/bitwarden/web \
  --network bitwarden-net \
  bitwarden/web:1.19.0
ExecStop=/usr/bin/docker kill bitwarden-web
Restart=on-failure

[Install]
WantedBy=bitwarden-server.service