Telegram bridge for Matrix #33
|
@ -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
|
|
@ -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}"
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue