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: volumes:
- /mnt/tank/dbs/postgres/synapse:/var/lib/postgresql/data - /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: admin:
image: awesometechnologies/synapse-admin:latest image: awesometechnologies/synapse-admin:latest
restart: unless-stopped restart: unless-stopped

View file

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