2023-09-26 09:53:42 +02:00
|
|
|
services:
|
|
|
|
tg2:
|
|
|
|
container_name: tg2
|
2024-01-23 00:35:09 +01:00
|
|
|
image: git.bhasher.com/bhasher/tg2:latest
|
|
|
|
pull_policy: always
|
2023-10-18 18:07:34 +02:00
|
|
|
restart: on-failure:10
|
2023-09-26 09:53:42 +02:00
|
|
|
environment:
|
|
|
|
- TGTG_EMAIL=tgtg.trash@bhasher.com
|
2024-01-23 00:35:09 +01:00
|
|
|
- TELEGRAM=true
|
2023-09-26 09:53:42 +02:00
|
|
|
- TELEGRAM_TOKEN=${TELEGRAM_TOKEN}
|
|
|
|
- TELEGRAM_ID=${TELEGRAM_ID}
|
2024-01-23 00:35:09 +01:00
|
|
|
- MATRIX=false
|
2023-12-12 09:54:46 +01:00
|
|
|
- MATRIX_URL=https://maubot.bhasher.com/_matrix/maubot/plugin/webhook/send
|
|
|
|
- MATRIX_BASIC_AUTH_USER=${MATRIX_WEBHOOK_USER}
|
2024-01-23 00:35:09 +01:00
|
|
|
- MATRIX_BASIC_AUTH_PASS=${MATRIX_WEBHOOK_PASS}
|
|
|
|
- PYTHONUNBUFFERED=1
|
2023-09-26 09:53:42 +02:00
|
|
|
volumes:
|
|
|
|
- $DATA/tg2:/data
|
|
|
|
labels:
|
2023-12-26 22:59:06 +01:00
|
|
|
- "com.centurylinklabs.watchtower.enable=true"
|
2023-09-26 09:53:42 +02:00
|
|
|
|