more caching
This commit is contained in:
parent
565be125e9
commit
faa222df54
|
@ -5,6 +5,12 @@ LETS_ENCRYPT_ENV=production
|
|||
|
||||
COMPOSE_FILE="compose.yml"
|
||||
|
||||
# 15 * 60
|
||||
CACHE_EXPIRE=900
|
||||
|
||||
# 5 * 60 * 60
|
||||
CACHE_CONTENT_EXPIRE=18000
|
||||
|
||||
# instagram
|
||||
#COMPOSE_FILE="$COMPOSE_FILE:compose.instagram.yml"
|
||||
#IG_ENABLED=1
|
||||
|
|
|
@ -5,10 +5,12 @@ services:
|
|||
app:
|
||||
image: "diygod/rsshub:2022-09-02"
|
||||
environment:
|
||||
- NODE_ENV=production
|
||||
- CACHE_CONTENT_EXPIRE
|
||||
- CACHE_EXPIRE
|
||||
- CACHE_TYPE=redis
|
||||
- REDIS_URL=redis://redis:6379/
|
||||
- NODE_ENV=production
|
||||
- PUPPETEER_WS_ENDPOINT=ws://browserless:3000
|
||||
- REDIS_URL=redis://redis:6379/
|
||||
networks:
|
||||
- proxy
|
||||
- internal
|
||||
|
|
Loading…
Reference in New Issue