Use redis to store the sessions

This commit is contained in:
2024-07-29 21:54:37 +02:00
parent 52c3679158
commit 5d225f0186
5 changed files with 30 additions and 7 deletions

View File

@ -1,6 +1,5 @@
# Use postgres/postgres user/password credentials
services:
db:
image: postgres
restart: always
@ -23,3 +22,11 @@ services:
ports:
- 8081:8080
cache:
image: redis
restart: always
ports:
- 6379:6379
command: redis-server --save 60 1 --loglevel warning
volumes:
- cache:/data