mautrix-telegram. Adding volume to 'synapse' stack.

This commit is contained in:
Alexey Skobkin 2022-03-25 02:00:27 +03:00
parent bc77d66a61
commit 49d23e68c1
3 changed files with 9 additions and 2 deletions

View file

@ -4,7 +4,9 @@ IMAGE_VERSION=latest
HOST_USER=1337
HOST_GROUP=1337
HOST_DATA_DIR=./data
# Do not modify unless you know what you're doing!
# It is used by 'synapse' stack.
#HOST_DATA_DIR=./data
LOG_MAX_SIZE=5m
LOG_MAX_FILE=5

View file

@ -6,7 +6,9 @@ services:
image: "dock.mau.dev/mautrix/telegram:${IMAGE_VERSION:-latest}"
container_name: mautrix-telegram
volumes:
- "${HOST_DATA_DIR}:/data"
# This volume is also used by 'synapse' stack.
# Do not change the path unless you know what you're doing.
- "${HOST_DATA_DIR:-./data}:/data"
env_file: .env
environment:
UID: "${HOST_USER:-1337}"

View file

@ -15,6 +15,9 @@ services:
- "${DATA_PATH:-./data}:/data"
# SSL certs directory
- "${SSL_PATH:-./ssl}:/ssl:ro"
# Bridges
# Telegram
- "../mautrix-telegram/data:/bridges/mautrix-telegram/data:ro"
env_file: .env
networks:
- default