update README.md
This commit is contained in:
@@ -8,6 +8,7 @@ BOT_TOKEN=your_bot_token_here
|
||||
|
||||
# Creator ID
|
||||
# Your Telegram user ID - the bot will recognize you as creator
|
||||
# To get your ID: send /id command to the bot and use the "from id" value
|
||||
CREATOR_ID=your_user_id_here
|
||||
|
||||
# ============================================
|
||||
|
||||
@@ -23,6 +23,11 @@ npx drizzle-kit generate && npx drizzle-kit migrate
|
||||
npm run build && npm start
|
||||
```
|
||||
|
||||
**With Docker Compose:**
|
||||
```bash
|
||||
docker compose up -d
|
||||
```
|
||||
|
||||
**With Docker:**
|
||||
```bash
|
||||
docker build -f Dockerfile -t tg-bot .
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
services:
|
||||
tgchatbot:
|
||||
container_name: tgchatbot
|
||||
image: ghcr.io/melod1n/tg-chat-bot:latest
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- PUID=1000
|
||||
- PGID=1000
|
||||
- TZ=Europe/Moscow
|
||||
volumes:
|
||||
- ./config:/config
|
||||
Reference in New Issue
Block a user