tg-newsmaker/docker-compose.yaml
2024-11-12 02:10:05 +03:00

29 lines
594 B
YAML

version: '3.3'
name: tg-newsmaker
services:
bot:
# build: ./
image: localhost:5001/tg-newsmaker:${APP_VERSION}
environment:
- TG_OWNER_ID=258985362
- CONFIG_FILE=/mnt/config.json
- SESSION_FILE=/mnt/newsmaker.session
- TG_APP_ID=${TG_APP_ID}
- TG_APP_HASH=${TG_APP_HASH}
restart: always
volumes:
- ${CONFIG_FILE}:/mnt/config.json:r
- ${SESSION_FILE}:/mnt/newsmaker.session:Z
secrets:
- tg_app_id
- tg_app_hash
secrets:
tg_app_id:
environment: "TG_APP_ID"
tg_app_hash:
environment: "TG_APP_HASH"