From 807e238f8a77c5a9539d5577366e0613c12cde1e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emil=20V=C3=A5gstedt?= Date: Mon, 16 Sep 2024 18:48:42 +0200 Subject: [PATCH] fix: Quoted redis url in compose causing error When following the readme to run the app through docker compose the following error gets spammed in the logs: omnivore-api | [ioredis] Unhandled error event: Error: connect ENOENT %27redis://redis:6379%27 omnivore-api | at PipeConnectWrap.afterConnect [as oncomplete] (node:net:1494:16) omnivore-api | at PipeConnectWrap.callbackTrampoline (node:internal/async_hooks:130:17) This is most likely caused by the quotes being interpreted. --- docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index ed3d27b482..8bf1ee02fe 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -99,7 +99,7 @@ services: - CLIENT_URL=http://localhost:3000 - GATEWAY_URL=http://localhost:8080/api - CONTENT_FETCH_URL=http://content-fetch:8080/?token=some_token - - REDIS_URL='redis://redis:6379' + - REDIS_URL=redis://redis:6379 depends_on: migrate: condition: service_completed_successfully