From e072d03739c19817d7d8b7b26d5e3f545e749452 Mon Sep 17 00:00:00 2001 From: Zuyang Kou Date: Sat, 4 Mar 2023 22:38:05 +0800 Subject: [PATCH] Add docker-compose.yml --- docker-compose.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 docker-compose.yml diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..ad35ca0 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,10 @@ +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 \ No newline at end of file