Skip to content

Commit

Permalink
1
Browse files Browse the repository at this point in the history
  • Loading branch information
luzov committed Oct 13, 2024
1 parent c2901c3 commit d40bd93
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
- 'v*'

env:
DOCKER_IMAGE_NAME: missuo/deeplx
DOCKER_IMAGE_NAME: yucn/deeplx
GHCR_IMAGE_NAME: ${{ github.repository }}
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
Expand Down
18 changes: 8 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,18 @@

基于 [OwO-Network/DeepLX: Powerful Free DeepL API, No Token Required (github.com)](https://github.com/OwO-Network/DeepLX)修改。

## 使用Docker部署
## 使用Docker一键部署

1. 安装Docker和Docker Compose
1. 安装Docker

2. 下载docker-compose.yml文件:
2. 运行以下命令启动服务:
```
wget https://raw.githubusercontent.com/YuCN0010/DeepLX/main/compose.yaml
docker run -d --name deeplx -p 11888:11888 yucn/deeplx:latest
```

3. 运行以下命令启动服务:
3. 服务将在 http://localhost:11888 上运行

如果需要设置TOKEN或DL_SESSION,可以在运行命令时添加环境变量,例如:
```
docker-compose up -d
docker run -d --name deeplx -p 11888:11888 -e TOKEN=your_token -e DL_SESSION=your_session yucn/deeplx:latest
```

4. 服务将在 http://localhost:11888 上运行

如果需要设置TOKEN或DL_SESSION,请取消注释docker-compose.yml文件中的相应环境变量并设置值。

0 comments on commit d40bd93

Please sign in to comment.