mautrix-telegram. Adding volume to 'synapse' stack.
This commit is contained in:
parent
bc77d66a61
commit
49d23e68c1
|
@ -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
|
|
@ -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}"
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue