Keep gitea-redis always up

This commit is contained in:
Nemo 2018-04-14 13:04:14 +05:30
parent 1be61eadae
commit fd1c7f1dcc
1 changed files with 5 additions and 0 deletions

View File

@ -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" {