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