diff options
| -rw-r--r-- | TODO.md | 14 |
1 files changed, 14 insertions, 0 deletions
| @@ -23,6 +23,20 @@ | |||
| 23 | 23 | ||
| 24 | ## Other TODOs | 24 | ## Other TODOs |
| 25 | 25 | ||
| 26 | ### Support custom Caddyfile in repo | ||
| 27 | **Problem:** v2 always generates Caddyfiles from templates, ignoring any custom config in the repo. | ||
| 28 | |||
| 29 | **v1 behavior:** Checked for `.ship/Caddyfile` and used it if present. | ||
| 30 | |||
| 31 | **Proposed:** If `Caddyfile` exists in repo root, use it instead of generating. Support variable substitution: | ||
| 32 | - `{{.RootDir}}` → `/var/www/<name>` | ||
| 33 | - `{{.Port}}` → allocated port | ||
| 34 | - `{{.Domain}}` → site domain | ||
| 35 | |||
| 36 | This allows custom routes (NIP-05, LNURL, rewrites, etc.) while still letting ship manage deployment. | ||
| 37 | |||
| 38 | --- | ||
| 39 | |||
| 26 | ### ship list should show custom domains | 40 | ### ship list should show custom domains |
| 27 | **Problem:** `ship list` shows internal names (e.g., `ship-593a3d`) but not the actual custom domain mappings (e.g., `checkyourinfo.com`). | 41 | **Problem:** `ship list` shows internal names (e.g., `ship-593a3d`) but not the actual custom domain mappings (e.g., `checkyourinfo.com`). |
| 28 | 42 | ||
