From e7b2dbf4bcbd6514fcaceb8bf807a1628ca5abdd Mon Sep 17 00:00:00 2001 From: "Kevin Veen-Birkenbach [aka. Frantz]" Date: Mon, 11 Oct 2021 22:40:26 +0200 Subject: [PATCH] Changed docker compose timeouts --- roles/docker-mailu/templates/docker-compose.yml.j2 | 1 + roles/docker-mailu/templates/mailu.env.j2 | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/roles/docker-mailu/templates/docker-compose.yml.j2 b/roles/docker-mailu/templates/docker-compose.yml.j2 index f2542088..233238c2 100644 --- a/roles/docker-mailu/templates/docker-compose.yml.j2 +++ b/roles/docker-mailu/templates/docker-compose.yml.j2 @@ -6,6 +6,7 @@ services: redis: image: redis:alpine restart: always + env_file: mailu.env volumes: - "redis_data:/data" database: diff --git a/roles/docker-mailu/templates/mailu.env.j2 b/roles/docker-mailu/templates/mailu.env.j2 index d00dfc04..0a85ad40 100644 --- a/roles/docker-mailu/templates/mailu.env.j2 +++ b/roles/docker-mailu/templates/mailu.env.j2 @@ -8,6 +8,10 @@ # Common configuration variables ################################### +# TIMEOUTS +COMPOSE_HTTP_TIMEOUT=300 +DOCKER_CLIENT_TIMEOUT=300 + # Set to a randomly generated 16 bytes string SECRET_KEY={{mailu_secret_key}}