You've already forked gitea-ubuntu-multi
minor readability changes
This commit is contained in:
34
README.md
34
README.md
@@ -117,17 +117,35 @@ That step:
|
||||
|
||||
---
|
||||
|
||||
## File Layout
|
||||
## File Layout (auto-increment per instance)
|
||||
|
||||
When first installed, paths look like this:
|
||||
|
||||
**Instance 1**
|
||||
|
||||
| Path | Purpose |
|
||||
|---|---|
|
||||
| `/etc/giteaX/app.ini` | Main config file |
|
||||
| `/etc/giteaX/gitea-postinstall` | Postinstall script for finalizing instance |
|
||||
| `/var/lib/giteaX/` | Data, repos, indexers, logs |
|
||||
| `/var/lib/giteaX/custom/templates/` | Custom UI override templates |
|
||||
| `/var/lib/giteaX/custom/public/assets/img/` | Logos + branding |
|
||||
| `/var/lib/giteaX/custom/public/` | robots.txt + sitemap.xml (optional, if created) |
|
||||
| `/usr/local/bin/gitea` | Shared Gitea binary |
|
||||
| `/etc/gitea1/app.ini` | Main config file |
|
||||
| `/etc/gitea1/gitea-postinstall` | Postinstall script |
|
||||
| `/var/lib/gitea1/` | Data, repos, indexers, logs |
|
||||
| `/var/lib/gitea1/custom/templates/` | UI overrides |
|
||||
| `/var/lib/gitea1/custom/public/assets/img/` | Logos + branding |
|
||||
| `/var/lib/gitea1/custom/public/` | robots + sitemap *(optional)* |
|
||||
| `/usr/local/bin/gitea` | Shared binary |
|
||||
|
||||
**Instance 2 (identical structure, next number auto-assigned)**
|
||||
|
||||
| Path | Purpose |
|
||||
|---|---|
|
||||
| `/etc/gitea2/app.ini` | Main config file |
|
||||
| `/etc/gitea2/gitea-postinstall` | Postinstall script |
|
||||
| `/var/lib/gitea2/` | Data, repos, indexers, logs |
|
||||
| `/var/lib/gitea2/custom/templates/` | UI overrides |
|
||||
| `/var/lib/gitea2/custom/public/assets/img/` | Logos + branding |
|
||||
| `/var/lib/gitea2/custom/public/` | robots + sitemap *(optional)* |
|
||||
| `/usr/local/bin/gitea` | Shared binary |
|
||||
|
||||
> Every new install increments automatically (`gitea3`, `gitea4`, `gitea5`…)
|
||||
|
||||
> Important (but optional):
|
||||
> `robots.txt` and `sitemap.xml` are supported automatically by the Nginx configuration being created,
|
||||
|
||||
Reference in New Issue
Block a user