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}