mirror of
https://github.com/Thumbscrew/matrix-homeserver-docker-compose.git
synced 2025-01-18 01:25:47 +00:00
add redis for potential workers
This commit is contained in:
parent
38010bbc83
commit
8a6dda10b1
@ -1,6 +1,7 @@
|
||||
# Docker settings
|
||||
VOLUME_PATH=/data/matrix
|
||||
DOCKER_PROXY_NETWORK=proxy # Replace with your proxy's network
|
||||
DOCKER_PROXY_EXT=false
|
||||
|
||||
# synapse
|
||||
SYNAPSE_IMAGE_TAG=latest
|
||||
@ -16,3 +17,6 @@ SYNAPSE_ADMIN_PORT=8080
|
||||
|
||||
# postgres
|
||||
POSTGRESQL_IMAGE_TAG=14
|
||||
|
||||
# redis
|
||||
REDIS_IMAGE_TAG=6
|
||||
|
@ -4,7 +4,7 @@ secrets:
|
||||
|
||||
networks:
|
||||
frontend:
|
||||
external: true
|
||||
external: ${DOCKER_PROXY_EXT-true}
|
||||
name: ${DOCKER_PROXY_NETWORK}
|
||||
backend:
|
||||
|
||||
@ -24,6 +24,12 @@ services:
|
||||
POSTGRES_PASSWORD_FILE: /run/secrets/postgres_password
|
||||
POSTGRES_INITDB_ARGS: --encoding=UTF8 --locale=C
|
||||
|
||||
redis:
|
||||
image: redis:${REDIS_IMAGE_TAG}
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- backend
|
||||
|
||||
synapse:
|
||||
image: matrixdotorg/synapse:${SYNAPSE_IMAGE_TAG}
|
||||
restart: unless-stopped
|
||||
|
Loading…
Reference in New Issue
Block a user