forked from infra/ansible
vaultwarden: handle restart via systemd service
This commit is contained in:
parent
14c055bff0
commit
b86945f714
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user