Skip to content

Commit

Permalink
docs: add docker deployment method
Browse files Browse the repository at this point in the history
  • Loading branch information
SkyDependence committed Dec 1, 2024
1 parent cfe7c75 commit f40ffad
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

本项目的前端地址:[tgDriveFront](https://github.com/SkyDependence/tgDrive-front)

[自部署指南](#自部署) | [PicGo 配置](#picgo-配置)
[自部署指南](#自部署) | [PicGo 配置](#picgo-配置) | [Docker 部署]()

目前打算逐步开发为网盘,但作为图床的使用场景已经相当成熟。

Expand Down Expand Up @@ -67,6 +67,25 @@

![image](https://github.com/user-attachments/assets/dffeeb23-8f63-4bdb-a676-0bd693a2bede)

## Docker 部署

拉取镜像:

```
docker pull nanyangzesi/tgdrive:latest
```

运行容器:

```
docker run -d -p 8085:8085 --name tgdrive nanyangzesi/tgdrive:latest
```

运行容器且开机自启动:
```
docker run -d -p 8085:8085 --name tgdrive --restart always nanyangzesi/tgdrive:latest
```

## 支持与反馈

如果您觉得项目有帮助,请点个 Star 支持我谢谢喵!您的支持是我最大的动力!
Expand Down

0 comments on commit f40ffad

Please sign in to comment.