Telegram bridge for Matrix #33

Merged
skobkin merged 3 commits from feature_mautrix_telegram into master 2022-03-25 01:07:30 +00:00
3 changed files with 9 additions and 2 deletions
Showing only changes of commit 49d23e68c1 - Show all commits

View file

@ -4,7 +4,9 @@ IMAGE_VERSION=latest
HOST_USER=1337 HOST_USER=1337
HOST_GROUP=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_SIZE=5m
LOG_MAX_FILE=5 LOG_MAX_FILE=5

View file

@ -6,7 +6,9 @@ services:
image: "dock.mau.dev/mautrix/telegram:${IMAGE_VERSION:-latest}" image: "dock.mau.dev/mautrix/telegram:${IMAGE_VERSION:-latest}"
container_name: mautrix-telegram container_name: mautrix-telegram
volumes: 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 env_file: .env
environment: environment:
UID: "${HOST_USER:-1337}" UID: "${HOST_USER:-1337}"

View file

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