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