Use redis to store the sessions
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user