From dd5e37fb68a3dff34ac82176195882d87b83d5e8 Mon Sep 17 00:00:00 2001 From: julian Date: Fri, 11 Aug 2023 02:05:20 +0200 Subject: [PATCH] Add restart: unless-stopped to Engelsystem compose --- .../templates/chaosknoten/configs/engelsystem/compose.yaml.j2 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/playbooks/templates/chaosknoten/configs/engelsystem/compose.yaml.j2 b/playbooks/templates/chaosknoten/configs/engelsystem/compose.yaml.j2 index 00ea3a0..823abd9 100644 --- a/playbooks/templates/chaosknoten/configs/engelsystem/compose.yaml.j2 +++ b/playbooks/templates/chaosknoten/configs/engelsystem/compose.yaml.j2 @@ -3,6 +3,7 @@ version: "3.6" services: es_server: image: es_server + restart: unless-stopped build: context: /home/chaos/engelsystem dockerfile: /home/chaos/engelsystem/docker/Dockerfile @@ -32,6 +33,7 @@ services: - es_database es_database: image: mariadb:10.2 + restart: unless-stopped environment: MYSQL_DATABASE: engelsystem MYSQL_USER: engelsystem