Add redis

This isn't really used as a cache, but it is for a couple bits, so nice to enable it anyway, and it might become so in future
This commit is contained in:
Jake Howard 2021-06-12 18:53:50 +01:00
parent 290b147821
commit 4e5fa59c58
Signed by: jake
GPG Key ID: 57AFB45680EDD477
2 changed files with 13 additions and 0 deletions

View File

@ -32,6 +32,12 @@ services:
volumes:
- /mnt/tank/dbs/postgres/synapse:/var/lib/postgresql/data
redis:
image: redis:6-alpine
restart: unless-stopped
volumes:
- /mnt/tank/dbs/redis/synapse:/data
admin:
image: awesometechnologies/synapse-admin:latest
restart: unless-stopped

View File

@ -70,3 +70,10 @@ trusted_key_servers:
- server_name: matrix.org
suppress_key_server_warning: true
## Workers ##
redis:
enabled: true
host: redis
port: 6379