tg-newsmaker/docker-compose.yaml

29 lines
590 B
YAML
Raw Normal View History

2024-07-10 14:56:40 +03:00
version: '3.3'
2024-07-11 00:42:49 +03:00
name: tg-newsmaker
2024-07-10 14:56:40 +03:00
services:
bot:
# build: ./
2024-07-10 23:52:19 +03:00
image: localhost:5001/tg-newsmaker:${APP_VERSION}
2024-07-10 14:56:40 +03:00
environment:
2024-07-11 00:37:47 +03:00
- TG_OWNER_ID=258985362
2024-07-10 14:56:40 +03:00
- CONFIG_FILE=/mnt/config.json
2024-07-10 23:52:19 +03:00
- SESSION_FILE=/mnt/newsmaker.session
2024-07-11 00:42:49 +03:00
- TG_APP_ID=${TG_APP_ID}
- TG_APP_HASH=${TG_APP_HASH}
2024-07-10 14:56:40 +03:00
restart: always
volumes:
- ${CONFIG_FILE}:/mnt/config.json
2024-07-10 23:52:19 +03:00
- ${SESSION_FILE}:/mnt/newsmaker.session
secrets:
2024-07-11 00:17:35 +03:00
- tg_app_id
- tg_app_hash
2024-07-11 00:13:46 +03:00
secrets:
tg_app_id:
environment: "TG_APP_ID"
tg_app_hash:
environment: "TG_APP_HASH"