chore: add docker-compose

This commit is contained in:
Vincent Young 2023-03-07 03:12:31 +08:00
parent b35c1d6622
commit 6d4f38c051
2 changed files with 17 additions and 1 deletions

View File

@ -2,7 +2,7 @@
* @Author: Vincent Young * @Author: Vincent Young
* @Date: 2022-10-18 07:32:29 * @Date: 2022-10-18 07:32:29
* @LastEditors: Vincent Young * @LastEditors: Vincent Young
* @LastEditTime: 2023-03-07 03:05:00 * @LastEditTime: 2023-03-07 03:11:57
* @FilePath: /DeepLX/README.md * @FilePath: /DeepLX/README.md
* @Telegram: https://t.me/missuo * @Telegram: https://t.me/missuo
* *
@ -41,6 +41,14 @@ docker run -itd -p 1188:1188 ghcr.io/owo-network/deeplx:latest
docker run -itd -p 1188:1188 missuo/deeplx:latest docker run -itd -p 1188:1188 missuo/deeplx:latest
``` ```
### Run with Docker Compose
```bash
mkdir deeplx
cd deeplx
wget https://raw.githubusercontent.com/OwO-Network/DeepLX/main/docker-compose.yaml
docker-compose up -d
```
### Run on Linux Server ### Run on Linux Server
```bash ```bash
bash <(curl -Ls https://cpp.li/deeplx) bash <(curl -Ls https://cpp.li/deeplx)

8
docker-compose.yaml Normal file
View File

@ -0,0 +1,8 @@
version: '3'
services:
deeplx:
image: ghcr.io/owo-network/deeplx:latest
restart: always
ports:
- "1188:1188"