Docker部署chevereto图床开心版

133 字
1 分钟
Docker部署chevereto图床开心版

效果图#

部署教程#

docker compose部署#

Terminal window
version: '3.8'
services:
chevereto:
image: ghcr.io/chevereto/chevereto:4.0.9
container_name: chevereto
restart: unless-stopped
ports:
- "8090:80"
environment:
CHEVERETO_DB_HOST: db
CHEVERETO_DB_PORT: 3306
CHEVERETO_DB_NAME: chevreto
CHEVERETO_DB_USER: chevreto
CHEVERETO_DB_PASS: passwd
depends_on:
- db
volumes:
- /opt/chevereto:/var/www/html/
- /opt/chevereto/asset:/var/www/html/images/_assets/
db:
image: mysql:8.1
container_name: chevereto_db
restart: unless-stopped
environment:
MYSQL_ROOT_PASSWORD: passwd
MYSQL_DATABASE: chevreto
MYSQL_USER: chevreto
MYSQL_PASSWORD: passwd
volumes:
- /opt/chevereto/db:/var/lib/mysql

自行更改用户名 密码和数据库用户名 密码

然后运行

Terminal window
docker compose up -d

下载开心版文件#

使用蓝奏网盘下载 Chevereto V4.0.7:

https://itxe.lanzout.com/itD5M0ozrzif

把压缩包放入/opt/chevereto文件夹内解压 赋予权限

Terminal window
chmod -R 077 /opt/chevereto

最后打开ip:8090即可

支持与分享

如果这篇文章对你有帮助,欢迎分享给更多人或打赏支持!

打赏
Docker部署chevereto图床开心版
https://blog.leuxx.de/posts/27/
作者
Leu
发布于
2026-05-19
许可协议
CC BY-NC-SA 4.0

评论区

Profile Image of the Author
Leu
热爱 Linux、VPS、开源与网络技术。
公告
欢迎来到我的博客,随便看看不用客气!
分类
标签
站点统计
文章
34
分类
10
标签
12
总字数
19,562
运行时长
0
最后活动
0 天前
站点信息
构建平台
Cloudflare Pages
博客版本
Firefly v6.13.4
文章许可
CC BY-NC-SA 4.0

文章目录