mirror of
https://github.com/rgrgogu/new_starr.git
synced 2026-09-27 00:12:54 +08:00
added Caddyfile
Our favorite hits aside from nginx conf Signed-off-by: Kenneth Obsequio <k80308392@gmail.com>
This commit is contained in:
+14
-3
@@ -1,14 +1,13 @@
|
||||
# Self-Hosting `new_starr` (Docker Compose) — Step-by-Step
|
||||
|
||||
This stack bundles everything: PostgreSQL, Valkey (Redis), Garage (S3), the API, and the
|
||||
frontend. Battle-tested end-to-end on a completely fresh Debian machine on 2026-08-29 —
|
||||
frontend. Battle-tested end-to-end on a completely fresh Debian machine on 2026-08-29
|
||||
every gotcha below actually happened once and is now fixed or documented.
|
||||
|
||||
---
|
||||
|
||||
## 0. What you need
|
||||
|
||||
- A Linux machine (Debian/Ubuntu commands below — adapt the package manager for others)
|
||||
- Docker Engine + Compose plugin
|
||||
- Node.js 22 + pnpm (only needed once, to build the frontend bundle)
|
||||
- Git access to this repo
|
||||
@@ -161,7 +160,19 @@ docker compose ps
|
||||
- Frontend: **http://localhost:4650**
|
||||
- Backend: http://localhost:3024/api
|
||||
|
||||
If both respond, you're done.
|
||||
If both respond, you're done with local testing.
|
||||
|
||||
---
|
||||
|
||||
## 9. (Optional) Put a real domain + HTTPS in front
|
||||
|
||||
For actually deploying this somewhere reachable, use the `Caddyfile` at the repo root
|
||||
as a template. It's a standalone Caddy install on the host (not part of
|
||||
`docker-compose.yml`) that reverse-proxies 3 domains to the 3 ports already published
|
||||
above (`:4650`, `:3024`, `:3900`) and handles Let's Encrypt certificates automatically.
|
||||
See the comments at the top of `Caddyfile` for exact steps. Not needed for local
|
||||
`localhost:4650` testing — skip this until you're pointing a real domain at the
|
||||
machine.
|
||||
|
||||
---
|
||||
|
||||
|
||||
Reference in New Issue
Block a user