summaryrefslogtreecommitdiffstats
path: root/dozentenmodulserver
diff options
context:
space:
mode:
authorManuel Bentele2021-05-19 12:46:42 +0200
committerManuel Bentele2021-05-19 12:46:42 +0200
commit432cd50cdb2cdcccb3475883de2759f3ea434598 (patch)
tree2758eb9ae3b83b6fc5977e4940c2932154e6399a /dozentenmodulserver
parent[client] Remove needless logger instance (diff)
downloadtutor-module-432cd50cdb2cdcccb3475883de2759f3ea434598.tar.gz
tutor-module-432cd50cdb2cdcccb3475883de2759f3ea434598.tar.xz
tutor-module-432cd50cdb2cdcccb3475883de2759f3ea434598.zip
[server] Restart database docker container only on failure
Diffstat (limited to 'dozentenmodulserver')
-rw-r--r--dozentenmodulserver/docker-compose.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/dozentenmodulserver/docker-compose.yml b/dozentenmodulserver/docker-compose.yml
index d19c06ba..f2f89f61 100644
--- a/dozentenmodulserver/docker-compose.yml
+++ b/dozentenmodulserver/docker-compose.yml
@@ -24,7 +24,7 @@ services:
dozmod-database:
container_name: dozmod-database
image: mariadb:latest
- restart: always
+ restart: on-failure
hostname: dozmod-database
environment:
MYSQL_DATABASE: sat