From fd1c7f1dcc9aede28d9377c29f52a6afac5b4787 Mon Sep 17 00:00:00 2001 From: Nemo Date: Sat, 14 Apr 2018 13:04:14 +0530 Subject: [PATCH] Keep gitea-redis always up --- gitea/redis.tf | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gitea/redis.tf b/gitea/redis.tf index 3818a93..fdf7379 100644 --- a/gitea/redis.tf +++ b/gitea/redis.tf @@ -6,6 +6,11 @@ resource "docker_container" "redis" { host_path = "/mnt/xwing/cache/gitea" container_path = "/data" } + + memory = 64 + restart = "unless-stopped" + destroy_grace_seconds = 10 + must_run = true } resource "docker_image" "redis" {