From 399adace02d0b920bce7e11441a1449aa4ed7a07 Mon Sep 17 00:00:00 2001 From: Jake Lees Date: Thu, 10 Feb 2022 14:54:27 +1100 Subject: [PATCH 1/2] Update usage container to include redis vars The existing compose file has appwrite-usage rely on the redis container, however, no redis connection env variables are being passed in. This just includes them for instances where you're using an external redis instance. --- docker-compose.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index 1ac7e1b0b0..a2ebc6575e 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -437,6 +437,10 @@ services: - _APP_INFLUXDB_HOST - _APP_INFLUXDB_PORT - _APP_USAGE_SYNC_INTERVAL + - _APP_REDIS_HOST + - _APP_REDIS_PORT + - _APP_REDIS_USER + - _APP_REDIS_PASS appwrite-schedule: entrypoint: schedule From e098943a15b240a0e9b1e7cf5457f3f68598e267 Mon Sep 17 00:00:00 2001 From: Jake Lees Date: Thu, 10 Feb 2022 16:37:48 +1100 Subject: [PATCH 2/2] Update compose.phtml to match docker-compose.yaml --- app/views/install/compose.phtml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/views/install/compose.phtml b/app/views/install/compose.phtml index 9da6d6fe57..c29c324452 100644 --- a/app/views/install/compose.phtml +++ b/app/views/install/compose.phtml @@ -365,6 +365,10 @@ services: - _APP_INFLUXDB_HOST - _APP_INFLUXDB_PORT - _APP_USAGE_AGGREGATION_INTERVAL + - _APP_REDIS_HOST + - _APP_REDIS_PORT + - _APP_REDIS_USER + - _APP_REDIS_PASS appwrite-schedule: image: /: