From 02dd8f4e04ad69204943fdcc26c2cc9819e434d4 Mon Sep 17 00:00:00 2001 From: brunomiguelpinto Date: Thu, 8 Aug 2024 14:16:43 +0100 Subject: [PATCH] feat: add redis to migrate container * feat: add Redis to migrate container --- docker-compose.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index 6bcef83..51028e9 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -296,6 +296,7 @@ services: image: getlago/api:v1.8.2 depends_on: - db + - redis command: ["./scripts/start.migrate.sh"] volumes: - lago_storage_data:/app/storage @@ -305,3 +306,5 @@ services: - RSA_PRIVATE_KEY=${LAGO_RSA_PRIVATE_KEY} # Should be base64 encoded - LAGO_RSA_PRIVATE_KEY=${LAGO_RSA_PRIVATE_KEY} # Should be base64 encoded - DATABASE_URL=postgresql://${POSTGRES_USER:-lago}:${POSTGRES_PASSWORD:-changeme}@${POSTGRES_HOST:-db}:${POSTGRES_PORT:-5432}/${POSTGRES_DB:-lago}?search_path=${POSTGRES_SCHEMA:-public} + - REDIS_URL=redis://${REDIS_HOST:-redis}:${REDIS_PORT:-6379} + - REDIS_PASSWORD=${REDIS_PASSWORD}