mirror of
https://github.com/xbgmsharp/postgsail.git
synced 2025-09-17 11:17:46 +00:00
Add telegram bot
This commit is contained in:
@@ -79,5 +79,24 @@ services:
|
|||||||
# retries: 5
|
# retries: 5
|
||||||
# start_period: 100s
|
# start_period: 100s
|
||||||
|
|
||||||
|
telegram:
|
||||||
|
image: xbgmsharp/postgsail-telegram-bot
|
||||||
|
container_name: telegram
|
||||||
|
restart: unless-stopped
|
||||||
|
volumes:
|
||||||
|
- /etc/resolv.conf:/etc/resolv.conf:ro
|
||||||
|
ports:
|
||||||
|
- "3005:8080"
|
||||||
|
network_mode: "host"
|
||||||
|
env_file: .env
|
||||||
|
environment:
|
||||||
|
- BOT_TOKEN=${PGSAIL_TELEGRAM_BOT_TOKEN}
|
||||||
|
- PGSAIL_URL=${PGSAIL_APP_URL}
|
||||||
|
depends_on:
|
||||||
|
- db
|
||||||
|
logging:
|
||||||
|
options:
|
||||||
|
max-size: 10m
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
data: {}
|
data: {}
|
||||||
|
Reference in New Issue
Block a user