Skip to content

Commit

Permalink
feat: add redis to migrate container
Browse files Browse the repository at this point in the history
* feat: add Redis to migrate container
  • Loading branch information
brunomiguelpinto authored Aug 8, 2024
1 parent 9c46eac commit 02dd8f4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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}

0 comments on commit 02dd8f4

Please sign in to comment.