From 03e2604ca07516a496c255599725a1253969f373 Mon Sep 17 00:00:00 2001 From: Nicolas Meienberger Date: Fri, 1 Dec 2023 08:44:53 +0100 Subject: [PATCH] hotfix(docker): make postgres restart policy "unless-stopped" instead of "on-failure" --- package.json | 2 +- packages/cli/assets/docker-compose.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index e7306622..967b8346 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "runtipi", - "version": "2.2.0", + "version": "2.2.1", "description": "A homeserver for everyone", "scripts": { "knip": "knip", diff --git a/packages/cli/assets/docker-compose.yml b/packages/cli/assets/docker-compose.yml index 4aa6fe06..58b3d5d0 100644 --- a/packages/cli/assets/docker-compose.yml +++ b/packages/cli/assets/docker-compose.yml @@ -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