Skip to content

Commit

Permalink
[fix] remove export from environment in docker-compose.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ethinx committed Mar 5, 2023
1 parent 9600a66 commit e4f48fa
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ services:
image: ghcr.io/leafduo/chatgpt-telegram-bot:latest
restart: always
environment:
- export OPENAI_API_KEY=<your_openai_api_key>
- export TELEGRAM_APITOKEN=<your_telegram_bot_token>
- OPENAI_API_KEY=<your_openai_api_key>
- TELEGRAM_APITOKEN=<your_telegram_bot_token>
# optional, default is empty. Only allow these users to use the bot. Empty means allow all users.
- export ALLOWED_TELEGRAM_ID=<your_telegram_id>,<your_friend_telegram_id>
- ALLOWED_TELEGRAM_ID=<your_telegram_id>,<your_friend_telegram_id>
# optional, default is 1.0. Higher temperature means more random responses.
# See https://platform.openai.com/docs/api-reference/chat/create#chat/create-temperature
- export MODEL_TEMPERATURE=1.0
- MODEL_TEMPERATURE=1.0

0 comments on commit e4f48fa

Please sign in to comment.