hotfix(docker): make postgres restart policy "unless-stopped" instead of "on-failure"

This commit is contained in:
Nicolas Meienberger 2023-12-01 08:44:53 +01:00
parent ba3d860176
commit 03e2604ca0
2 changed files with 2 additions and 2 deletions

View file

@ -1,6 +1,6 @@
{
"name": "runtipi",
"version": "2.2.0",
"version": "2.2.1",
"description": "A homeserver for everyone",
"scripts": {
"knip": "knip",

View file

@ -21,7 +21,7 @@ services:
tipi-db:
container_name: tipi-db
image: postgres:14
restart: on-failure
restart: unless-stopped
stop_grace_period: 1m
ports:
- ${POSTGRES_PORT:-5432}:5432