summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorhaturatu <taro@eyes4you.org>2026-04-21 05:21:33 +0900
committerhaturatu <taro@eyes4you.org>2026-04-21 05:21:33 +0900
commit836cdbbcb566a36c16b28305b50a502fa09f2c97 (patch)
tree796904fec1e2536e83630be181d9f3777bd2de3e /README.md
first commitHEADmain
Diffstat (limited to 'README.md')
-rw-r--r--README.md29
1 files changed, 29 insertions, 0 deletions
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..94478fa
--- /dev/null
+++ b/README.md
@@ -0,0 +1,29 @@
+# cgit Docker
+ホスト側:
+
+```text
+/home/git/repos/
+└── f2b-out-gen
+## 起動
+
+```bash
+docker compose up -d --build
+```
+
+- ホストポート: `8080`
+- コンテナ内 repo パス: `/var/lib/git/repos`
+
+```text
+http://localhost:8080/
+```
+
+## environment variables
+
+```bash
+CGIT_PORT=8080
+GIT_REPOS_PATH=/home/git/repos
+CGIT_TITLE="Git"
+CGIT_DESC="Hosted by cgit"
+CGIT_CLONE_BASE_URL="https://git.soulminingrig.com"
+docker compose up -d --build
+```