Comments (2)
懂了👌
from lsky-pro-docker.
如果只是要升级的话,只需要直接在Lsky-Pro
的 "管理后台"->"系统设置“ 最下方的 "系统升级"检查更新即可
如果说要备份数据,以我的docker-compose.yaml
的配置为例:
...
lsky-pro:
...
volumes:
- $PWD/html:/var/www/html
...
mysql-lsky:
...
volumes:
- $PWD/mysql/data:/var/lib/mysql
- $PWD/mysql/conf:/etc/mysql
- $PWD/mysql/log:/var/log/mysql
...
...
那么我只需要备份了在$PWD
目录下的docker-compose.yaml
,mysql
和html
以后就可以在新机器上通过docker-compose up -d
来恢复了。同理,如果没有配置mysql
的话则只需要备份html
文件夹内Lsky-Pro
的内容目录即可
Dockerfile
本身的安装逻辑是检查你挂载的Lsky-Pro
安装目录(比如所谓的html
)下是否已经有index.php
文件,也就是你是否已经完成过Lsky-Pro
的安装,如果不存在这个文件则会帮你将最新的Lsky-Pro
仓库拉取的代码进行安装。如果存在这个文件则表明你的Lsky-Pro
已经成功安装过,则不会将最新的仓库代码覆盖掉你老的环境,只起到一个提供php
环境的作用,此时如果要升级就是在后台直接升级就行
from lsky-pro-docker.
Related Issues (20)
- curl error 6: getaddrinfo() thread failed to start HOT 7
- 群辉部署时启动失败 HOT 2
- 镜像怎么拉取不了 HOT 1
- 该镜像是不是不支持arm架构的机子 HOT 3
- 图片管理中部分缩略图加载异常 HOT 4
- 请问内存占用过大怎么解决 HOT 8
- 点击我的图片,会跳转到域名(ip):8089端口 HOT 3
- 在群晖中部署该项目,使用127.0.0.1连接数据库报错:Connection refused HOT 13
- Nginx转发Docker容器目前HTTPS的问题是否依旧存在? HOT 5
- docker启动时配置 volume /data/lsky:/var/www/html 后,页面就显示404。去掉volume后就可以正常显示lsky-pro的页面 HOT 6
- 按照使用Nginx反向代理配置HTTPS进行docker的部署,部署完成后内网访问网页页面加载异常 HOT 7
- 什么时候出armv7的docker镜像 HOT 3
- 正常使用过程中,突然无法访问图床 HOT 6
- 使用docker创建后显示环境变量两个不符合要求 HOT 5
- Arm 版使用最新版无法启动 HOT 3
- 数据库容器对应IP变动(watchtower自动更新所致),修改.env手动重连 HOT 5
- HTTP ERROR 500 HOT 5
- Docker启动时报AH00558、AH01909、AH00163、AH00094错误 HOT 3
- 数据库未备份,如何手动恢复图片和URL映射 HOT 14
- Docker运行500报错,但是图库里的图片访问正常 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lsky-pro-docker.