GZTimeWalker / GZCTF

The GZ::CTF project, an open source CTF platform.
https://docs.ctf.gzti.me/
GNU Affero General Public License v3.0
791 stars 92 forks source link

Feature: Easy way to update the GZCTF #76

Closed xiongsp closed 1 year ago

xiongsp commented 1 year ago

目前更新GZCTF似乎只能重新部署镜像,而这会导致数据库的数据丢失。希望新增一个更新功能(或者一个更新用的docker-compose)

GZTimeWalker commented 1 year ago

@xiongsp 如已经使用 docker compose 部署,可以先 down 之后 docker pull 最新版本,之后 up

持久化存储均应挂载容器外部目录,GZCTF 本身是无状态应用,可以随意重建,如遇到数据丢失,请自查数据库配置是否正确。

同时,由于部署方式的特殊性,不支持应用内更新。