add redis integration gitignore (WIP)

This commit is contained in:
La macchina desiderante 2024-05-17 02:25:27 +02:00
parent a1d751e0bb
commit 4f15f44e12
2 changed files with 11 additions and 0 deletions

8
.env.example Normal file
View File

@ -0,0 +1,8 @@
# enable content cache (less server api calls)
ENABLE_REDIS=true
# if cache enabled, sets redis url for Docker network (see docker-compose.yaml)
REDIS_URL='redis://redis:6379'
# if cache enabled, set redis url for external redis
# REDIS_URL='redis://127.0.0.1:6379'

3
.gitignore vendored
View File

@ -34,3 +34,6 @@ yarn-error.log*
# typescript
*.tsbuildinfo
next-env.d.ts
# local .env
.env