From 79019b5e598831fcf2907b9ed2e564daee32217f Mon Sep 17 00:00:00 2001 From: "sipc.ink" <92251518+SIPC@users.noreply.github.com> Date: Thu, 8 Feb 2024 15:22:54 +0800 Subject: [PATCH] up readme --- .env.example | 2 +- README.md | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.env.example b/.env.example index 48f5387..489477b 100644 --- a/.env.example +++ b/.env.example @@ -2,4 +2,4 @@ OpenAI_API_KEY='sk-...' OpenAI_API_ENDPOINT='https://api.openai.com/v1/chat/completions' OpenAI_MODEL='gpt-3.5-turbo=0613' NIUTRANS_KEY='...' -DEEPL_X_API_URL='https://api.sipc.ink/translate' +DEEPL_X_API_URL='...' diff --git a/README.md b/README.md index e1f5c51..f926fb6 100644 --- a/README.md +++ b/README.md @@ -35,7 +35,12 @@ npm run start # start deploy server ```shell docker run -d --name lyrify \ -p 3000:3000 \ - programzmh/lyrify:latest + -e OpenAI_API_KEY='sk-...' \ + -e OpenAI_API_ENDPOINT='https://api.openai.com/v1/chat/completions' \ + -e OpenAI_MODEL='gpt-3.5-turbo' \ + -e NIUTRANS_KEY='...' \ + DEEPL_X_API_URL='...' \ + sipcink/lyrify:latest ``` > Github Workflow 自动打包