Skip to content

Commit

Permalink
Improve docker-compose.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
leafduo committed Mar 4, 2023
1 parent e072d03 commit f817cff
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
version: '3'
version: "3"
services:
chatgpt-telegram-bot:
container_name: chatgpt-telegram-bot
image: ghcr.io/leafduo/chatgpt-telegram-bot:main
restart: always
environment:
- TELEGRAM_APITOKEN=xxxx
- OPENAI_API_KEY=xxxx
- ALLOWED_TELEGRAM_ID=12345,23456 # telegram user ids allowed to use this bot, multiple ids seperated by comma
- TELEGRAM_APITOKEN=xxxx # Telegram bot API token
- OPENAI_API_KEY=xxxx # OpenAI API key
- ALLOWED_TELEGRAM_ID=12345,23456
# Telegram user ids allowed to use this bot, multiple ids seperated by comma
# Leave it empty if you want to allow everyone to use this bot

0 comments on commit f817cff

Please sign in to comment.