tg2 matrix

This commit is contained in:
Brieuc Dubois 2023-12-12 09:54:46 +01:00
parent bfa9835e96
commit c8f5324865
1 changed files with 6 additions and 1 deletions

View File

@ -1,12 +1,17 @@
services: services:
tg2: tg2:
container_name: tg2 container_name: tg2
image: tg2:latest image: registry.bhasher.com/tg2:latest
restart: on-failure:10 restart: on-failure:10
environment: environment:
- TGTG_EMAIL=tgtg.trash@bhasher.com - TGTG_EMAIL=tgtg.trash@bhasher.com
#- TELEGRAM=true
- TELEGRAM_TOKEN=${TELEGRAM_TOKEN} - TELEGRAM_TOKEN=${TELEGRAM_TOKEN}
- TELEGRAM_ID=${TELEGRAM_ID} - TELEGRAM_ID=${TELEGRAM_ID}
- MATRIX=true
- MATRIX_URL=https://maubot.bhasher.com/_matrix/maubot/plugin/webhook/send
- MATRIX_BASIC_AUTH_USER=${MATRIX_WEBHOOK_USER}
- MATRIX_BASIC_AUTH_PASS=${MATRIX_WEBHOOK_PASS}
volumes: volumes:
- $DATA/tg2:/data - $DATA/tg2:/data
labels: labels: