mirror of
https://github.com/getlago/lago.git
synced 2024-12-22 15:53:20 +07:00
feat: add redis to migrate container
* feat: add Redis to migrate container
This commit is contained in:
parent
9c46eacd5b
commit
02dd8f4e04
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user