Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

move database storage onto persistent volume outside of docker, allowing r/w access from within docker

未关闭
#630 3 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 7 天内回复

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
35/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
停滞
技术栈
docker, mysql, ubuntu

调研方向

从 Dockerfile 第 8 行和 Ubuntu MySQL 软件包配置开始。跟踪启动命令如何公开存储,然后确定应如何使用 /opt/shift-data/mysql,以便从 Docker 内部进行持久访问。完成的标准是 MySQL 数据在容器替换后仍然保留,并且 issue 包含准备本地文件系统的文档。

由索引模型根据 Issue 内容生成。

描述

Currently, table storage is wherever ubuntu's mysql sticks it by default, inside of the container since that's where mysql is installed. The total size of storage needed is minimal; 200MByte would probably have us set for life. I suspect we need to reconfigure the ubuntu mysql package (inside the container, probably during image build) to point into something like /opt/shift-data/mysql and expose that directory or its parent to docker in the startup command. For bonus points, add some documentation around where it is and what is needed from a local dev to prepare their dev machine's filesystem to use this.

主要语言
JavaScript
星标
30
派生
26
平均合并
6 天 23 小时
30 天内合并 PR
3

环境准备

  • 提供 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 没有贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

shift-org/shift-docs 的其他 Issue

查看 shift-org/shift-docs 的全部 Issue

相似的 Issue

更多 JavaScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。