tg-newsmaker/docker-compose.yaml
2024-07-11 00:17:35 +03:00

27 lines
591 B
YAML

version: '3.3'
services:
bot:
# build: ./
image: localhost:5001/tg-newsmaker:${APP_VERSION}
environment:
- BOT_OWNER_ID=258985362
- CONFIG_FILE=/mnt/config.json
- SESSION_FILE=/mnt/newsmaker.session
- TG_APP_ID=/run/secrets/tg_app_id
- TG_APP_HASH=/run/secrets/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"