pre release

This commit is contained in:
Struchkov Mark 2023-03-16 00:54:03 +03:00
parent d054fe5da0
commit 372cb2b31b
Signed by: upagge
GPG Key ID: D3018BE7BA428CA6
3 changed files with 16 additions and 8 deletions

View File

@ -48,6 +48,10 @@ Enough words, let's launch your personal ChatGPT Telegram bot. 🚀
### Docker Run ### Docker Run
!!! note "Support"
The following platforms are supported: linux/amd64,linux/arm64/v8
``` bash ``` bash
docker run -it --name chatgpt-telegram-bot \ docker run -it --name chatgpt-telegram-bot \
--env TELEGRAM_BOT_TOKEN= \ --env TELEGRAM_BOT_TOKEN= \
@ -76,7 +80,7 @@ docker run -it --name chatgpt-telegram-bot \
--env TELEGRAM_PROXY_TYPE=SOCKS5 \ --env TELEGRAM_PROXY_TYPE=SOCKS5 \
--env TELEGRAM_PROXY_USERNAME= \ --env TELEGRAM_PROXY_USERNAME= \
--env TELEGRAM_PROXY_PASSWORD= \ --env TELEGRAM_PROXY_PASSWORD= \
upagge/chatgpt-telegram-bot:develop upagge/chatgpt-telegram-bot:latest
``` ```
!!! note "" !!! note ""
@ -97,7 +101,7 @@ docker run -it --name chatgpt-telegram-bot \
services: services:
chat-gpt: chat-gpt:
image: upagge/chatgpt-telegram-bot:develop image: upagge/chatgpt-telegram-bot:latest
container_name: chatgpt-bot container_name: chatgpt-bot
restart: always restart: always
environment: environment:

View File

@ -58,7 +58,7 @@ theme:
# - toc.integrate # - toc.integrate
plugins: plugins:
- social - social
# - typeset - typeset
# - blog: # - blog:
# blog_toc: true # blog_toc: true
# post_date_format: short # post_date_format: short

14
pom.xml
View File

@ -15,23 +15,27 @@
<properties> <properties>
<java.version>17</java.version> <java.version>17</java.version>
</properties>
<dependencies>
<openai.api.version>0.0.1</openai.api.version>
<godfather.version>0.0.53</godfather.version>
</properties>
<dependencies>
<dependency> <dependency>
<groupId>dev.struchkov.openai</groupId> <groupId>dev.struchkov.openai</groupId>
<artifactId>openai-simple-sdk</artifactId> <artifactId>openai-simple-sdk</artifactId>
<version>0.0.1-SNAPSHOT</version> <version>${openai.api.version}</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>dev.struchkov.openai</groupId> <groupId>dev.struchkov.openai</groupId>
<artifactId>openai-simple-data-local</artifactId> <artifactId>openai-simple-data-local</artifactId>
<version>0.0.1-SNAPSHOT</version> <version>${openai.api.version}</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>dev.struchkov.godfather.telegram</groupId> <groupId>dev.struchkov.godfather.telegram</groupId>
<artifactId>telegram-bot-spring-boot-starter</artifactId> <artifactId>telegram-bot-spring-boot-starter</artifactId>
<version>0.0.53-SNAPSHOT</version> <version>${godfather.version}</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>