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