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}}