more caching

This commit is contained in:
decentral1se 2022-09-06 00:55:58 +02:00
parent 565be125e9
commit faa222df54
Signed by: decentral1se
GPG Key ID: 03789458B3D0C410
2 changed files with 10 additions and 2 deletions

View File

@ -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

View File

@ -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