# fujisawa1009/redmine6 architecture

> Architecture diagram of the GitHub repository fujisawa1009/redmine6, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-26). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/fujisawa1009/redmine6
- Repository: https://github.com/fujisawa1009/redmine6

## Overview

リポジトリの主目的は、Redmine 6.0.6 と MariaDB 11.5 を Docker で稼働させる環境の構成・運用です。利用者はポート3000からRedmineにアクセスし、RedmineがMariaDBを利用します。プラグイン配置と永続化も主要な構成要素です。別途、移行用にKanbanと課題ツリーのJavaScript資産が含まれますが、現行環境との接続は確認できません。関係はREADMEに記された構成を中心に示し、未確認の実行時接続は省略しました。

Main entry points: [`docker/redmine/Dockerfile`](https://github.com/fujisawa1009/redmine6/blob/main/docker/redmine/Dockerfile) (Redmineアプリ), [`docker-compose.yml`](https://github.com/fujisawa1009/redmine6/blob/main/docker-compose.yml) (サービス構成), [`docker/db/Dockerfile`](https://github.com/fujisawa1009/redmine6/blob/main/docker/db/Dockerfile) (MariaDB), [`migration_plugin_assets/kanban/javascripts/kanban.js`](https://github.com/fujisawa1009/redmine6/blob/main/migration_plugin_assets/kanban/javascripts/kanban.js) (Kanban操作UI)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_runtime["Redmine環境"]
  node_redmine["Redmineアプリ"]
  node_compose["サービス構成<br/>[docker-compose.yml]"]
end

subgraph group_persistence["永続化・設定"]
  node_db[("MariaDB")]
  node_dbconfig["DB設定<br/>[configuration.yml]"]
end

subgraph group_extensions["Redmine拡張"]
  node_pluginmount["プラグイン配置"]
  node_githubhook["GitHub連携"]
  node_templates["課題テンプレート"]
  node_uiex["UI拡張"]
  node_viewcustom["画面カスタマイズ"]
end

subgraph group_legacy["移行用UI資産"]
  node_kanban["Kanban操作UI<br/>[kanban.js]"]
  node_hotkeys["ショートカット<br/>[hotkeys.js]"]
  node_floathead["固定テーブル見出し"]
  node_treetable["課題ツリー表示"]
  node_treehelper["ツリー表示切替<br/>[tree.helper.js]"]
  node_treeinit["ツリー初期化"]
end

node_user(("利用者"))

node_user -->|"アクセス"| node_redmine
node_compose -->|"起動構成"| node_redmine
node_compose -->|"起動構成"| node_db
node_redmine -->|"DB接続"| node_db
node_redmine -->|"マウント"| node_pluginmount
node_treeinit -->|"初期化・操作"| node_treetable
node_treehelper -->|"表示切替要求"| node_user
node_kanban -->|"見出し再配置"| node_floathead

click node_redmine "https://github.com/fujisawa1009/redmine6/blob/main/docker/redmine/Dockerfile"
click node_compose "https://github.com/fujisawa1009/redmine6/blob/main/docker-compose.yml"
click node_db "https://github.com/fujisawa1009/redmine6/blob/main/docker/db/Dockerfile"
click node_dbconfig "https://github.com/fujisawa1009/redmine6/blob/main/docker/redmine/config/configuration.yml"
click node_pluginmount "https://github.com/fujisawa1009/redmine6/tree/main/docker/redmine/plugins"
click node_githubhook "https://github.com/fujisawa1009/redmine6/tree/main/docker/redmine/plugins/redmine_github_hook"
click node_templates "https://github.com/fujisawa1009/redmine6/tree/main/docker/redmine/plugins/redmine_issue_templates"
click node_uiex "https://github.com/fujisawa1009/redmine6/tree/main/docker/redmine/plugins/redmica_ui_extension"
click node_viewcustom "https://github.com/fujisawa1009/redmine6/tree/main/docker/redmine/plugins/view_customize"
click node_kanban "https://github.com/fujisawa1009/redmine6/blob/main/migration_plugin_assets/kanban/javascripts/kanban.js"
click node_hotkeys "https://github.com/fujisawa1009/redmine6/blob/main/migration_plugin_assets/kanban/javascripts/hotkeys.js"
click node_floathead "https://github.com/fujisawa1009/redmine6/blob/main/migration_plugin_assets/kanban/javascripts/jquery.floatThead.js"
click node_treetable "https://github.com/fujisawa1009/redmine6/blob/main/migration_plugin_assets/redmine_issues_tree/javascripts/custom.jquery.treetable.js"
click node_treehelper "https://github.com/fujisawa1009/redmine6/blob/main/migration_plugin_assets/redmine_issues_tree/javascripts/tree.helper.js"
click node_treeinit "https://github.com/fujisawa1009/redmine6/blob/main/migration_plugin_assets/redmine_issues_tree/javascripts/tree.issues.initializer.js"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_redmine,node_compose toneBlue
class node_db,node_dbconfig toneAmber
class node_pluginmount,node_githubhook,node_templates,node_uiex,node_viewcustom toneMint
class node_kanban,node_hotkeys,node_floathead,node_treetable,node_treehelper,node_treeinit toneRose
class node_user toneIndigo
```

## Components

### Redmine環境

- [Redmineアプリ](https://github.com/fujisawa1009/redmine6/blob/main/docker/redmine/Dockerfile): `docker/redmine/Dockerfile`
- [サービス構成](https://github.com/fujisawa1009/redmine6/blob/main/docker-compose.yml): `docker-compose.yml`

### 永続化・設定

- [MariaDB](https://github.com/fujisawa1009/redmine6/blob/main/docker/db/Dockerfile): `docker/db/Dockerfile`
- [DB設定](https://github.com/fujisawa1009/redmine6/blob/main/docker/redmine/config/configuration.yml): `docker/redmine/config/configuration.yml`

### Redmine拡張

- [プラグイン配置](https://github.com/fujisawa1009/redmine6/tree/main/docker/redmine/plugins): `docker/redmine/plugins`
- [GitHub連携](https://github.com/fujisawa1009/redmine6/tree/main/docker/redmine/plugins/redmine_github_hook): `docker/redmine/plugins/redmine_github_hook`
- [課題テンプレート](https://github.com/fujisawa1009/redmine6/tree/main/docker/redmine/plugins/redmine_issue_templates): `docker/redmine/plugins/redmine_issue_templates`
- [UI拡張](https://github.com/fujisawa1009/redmine6/tree/main/docker/redmine/plugins/redmica_ui_extension): `docker/redmine/plugins/redmica_ui_extension`
- [画面カスタマイズ](https://github.com/fujisawa1009/redmine6/tree/main/docker/redmine/plugins/view_customize): `docker/redmine/plugins/view_customize`

### 移行用UI資産

- [Kanban操作UI](https://github.com/fujisawa1009/redmine6/blob/main/migration_plugin_assets/kanban/javascripts/kanban.js): `migration_plugin_assets/kanban/javascripts/kanban.js`
- [ショートカット](https://github.com/fujisawa1009/redmine6/blob/main/migration_plugin_assets/kanban/javascripts/hotkeys.js): `migration_plugin_assets/kanban/javascripts/hotkeys.js`
- [固定テーブル見出し](https://github.com/fujisawa1009/redmine6/blob/main/migration_plugin_assets/kanban/javascripts/jquery.floatThead.js): `migration_plugin_assets/kanban/javascripts/jquery.floatThead.js`
- [課題ツリー表示](https://github.com/fujisawa1009/redmine6/blob/main/migration_plugin_assets/redmine_issues_tree/javascripts/custom.jquery.treetable.js): `migration_plugin_assets/redmine_issues_tree/javascripts/custom.jquery.treetable.js`
- [ツリー表示切替](https://github.com/fujisawa1009/redmine6/blob/main/migration_plugin_assets/redmine_issues_tree/javascripts/tree.helper.js): `migration_plugin_assets/redmine_issues_tree/javascripts/tree.helper.js`
- [ツリー初期化](https://github.com/fujisawa1009/redmine6/blob/main/migration_plugin_assets/redmine_issues_tree/javascripts/tree.issues.initializer.js): `migration_plugin_assets/redmine_issues_tree/javascripts/tree.issues.initializer.js`

### Other components

- **利用者**

## Connections

- 利用者 → Redmineアプリ: アクセス (evidence: `README.md`)
- サービス構成 → Redmineアプリ: 起動構成 (evidence: `README.md`)
- サービス構成 → MariaDB: 起動構成 (evidence: `README.md`)
- Redmineアプリ → MariaDB: DB接続 (evidence: `README.md`)
- Redmineアプリ → プラグイン配置: マウント (evidence: `README.md`)
- ツリー初期化 → 課題ツリー表示: 初期化・操作 (evidence: `migration_plugin_assets/redmine_issues_tree/javascripts/tree.issues.initializer.js`)
- ツリー表示切替 → 利用者: 表示切替要求 (evidence: `migration_plugin_assets/redmine_issues_tree/javascripts/tree.helper.js`)
- Kanban操作UI → 固定テーブル見出し: 見出し再配置 (evidence: `migration_plugin_assets/kanban/javascripts/kanban.js`)
