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:
parent
290b147821
commit
4e5fa59c58
2 changed files with 13 additions and 0 deletions
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue