mirror of
https://github.com/getlago/lago.git
synced 2025-01-05 13:08:00 +07:00
misc: Add redis cache configuration (#63)
This commit is contained in:
parent
48f65295dc
commit
2ee2bc4f1a
@ -97,6 +97,7 @@ services:
|
||||
- LAGO_AWS_S3_REGION=${LAGO_AWS_S3_REGION}
|
||||
- LAGO_AWS_S3_BUCKET=${LAGO_AWS_S3_BUCKET}
|
||||
- LAGO_PDF_URL=${LAGO_PDF_URL:-http://pdf:3000}
|
||||
- LAGO_REDIS_CACHE_URL=redis://redis:6379
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.api_http.rule=Host(`api.lago.dev`)"
|
||||
@ -133,6 +134,7 @@ services:
|
||||
- LAGO_AWS_S3_REGION=${LAGO_AWS_S3_REGION}
|
||||
- LAGO_AWS_S3_BUCKET=${LAGO_AWS_S3_BUCKET}
|
||||
- LAGO_PDF_URL=${LAGO_PDF_URL:-http://pdf:3000}
|
||||
- LAGO_REDIS_CACHE_URL=redis://redis:6379
|
||||
|
||||
api-clock:
|
||||
image: api
|
||||
|
@ -54,6 +54,7 @@ services:
|
||||
- LAGO_AWS_S3_REGION=${LAGO_AWS_S3_REGION}
|
||||
- LAGO_AWS_S3_BUCKET=${LAGO_AWS_S3_BUCKET}
|
||||
- LAGO_PDF_URL=${LAGO_PDF_URL:-http://pdf:3000}
|
||||
- LAGO_REDIS_CACHE_URL=redis://${LAGO_REDIS_CACHE_HOST:-redis}:${LAGO_REDIS_CACHE_PORT:-6379}
|
||||
ports:
|
||||
- ${API_PORT:-3000}:3000
|
||||
|
||||
@ -94,6 +95,7 @@ services:
|
||||
- LAGO_AWS_S3_REGION=${LAGO_AWS_S3_REGION}
|
||||
- LAGO_AWS_S3_BUCKET=${LAGO_AWS_S3_BUCKET}
|
||||
- LAGO_PDF_URL=${LAGO_PDF_URL:-http://pdf:3000}
|
||||
- LAGO_REDIS_CACHE_URL=redis://${LAGO_REDIS_CACHE_HOST:-redis}:${LAGO_REDIS_CACHE_PORT:-6379}
|
||||
|
||||
api-clock:
|
||||
container_name: lago-clock
|
||||
|
Loading…
Reference in New Issue
Block a user