vaultwarden: handle restart via systemd service

This commit is contained in:
Markus 2022-09-03 12:26:29 +02:00
parent 14c055bff0
commit b86945f714

View File

@ -8,7 +8,6 @@ services:
- POSTGRES_DB={{ vaultwarden_dbname }}
volumes:
- ./database:/var/lib/postgresql/data
restart: unless-stopped
app:
image: vaultwarden/server:latest
environment:
@ -29,6 +28,5 @@ services:
- ./data:/data
ports:
- "127.0.0.1:4000:4000"
restart: unless-stopped
depends_on:
- database