From 40a2a286769381427fcd17e007cd6e27e702b4e0 Mon Sep 17 00:00:00 2001 From: Markus Hauschild Date: Mon, 5 Feb 2024 20:59:13 +0100 Subject: [PATCH] hedgedoc: restart on failure --- roles/hedgedoc/templates/docker-compose.yml.j2 | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/hedgedoc/templates/docker-compose.yml.j2 b/roles/hedgedoc/templates/docker-compose.yml.j2 index df37f27..cf9e7e6 100644 --- a/roles/hedgedoc/templates/docker-compose.yml.j2 +++ b/roles/hedgedoc/templates/docker-compose.yml.j2 @@ -10,6 +10,7 @@ services: - ./database:/var/lib/postgresql/data app: image: quay.io/hedgedoc/hedgedoc:1.9.9 + restart: on-failure environment: - CMD_DOMAIN={{ hedgedoc_domain }} - CMD_PROTOCOL_USESSL=true