23 lines
563 B
YAML
23 lines
563 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:
|
|
environment: "TG_APP_ID"
|
|
- tg_app_hash:
|
|
environment: "TG_APP_HASH"
|