tg-newsmaker/docker-compose.yaml
2024-07-11 00:42:49 +03:00

29 lines
590 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
- ${SESSION_FILE}:/mnt/newsmaker.session
secrets:
- tg_app_id
- tg_app_hash
secrets:
tg_app_id:
environment: "TG_APP_ID"
tg_app_hash:
environment: "TG_APP_HASH"