local-up
- Repo stars 0
- Author repo skills-registry
Start the local dev stack
The local stack is defined in docker/docker-compose.local.yml. It already sets AUTH_MODE=none and ALLOW_INSECURE_LOCAL=true on the backend, so no extra env vars are needed.
Steps
Check whether containers are already running:
docker compose -f docker/docker-compose.local.yml psIf nothing is up, start the stack in the background:
docker compose -f docker/docker-compose.local.yml up -d --buildUse
--buildso code changes since the last run are picked up. Omit it if the user explicitly wants a fast restart without rebuilding.After
upreturns, confirm both services are healthy:docker compose -f docker/docker-compose.local.yml psPrint the URLs:
- Frontend: http://localhost:3000
- Backend API: http://localhost:8000
- Backend docs (FastAPI Swagger): http://localhost:8000/docs
If the user wants live logs, tail them:
docker compose -f docker/docker-compose.local.yml logs -f
Troubleshooting
- Port 3000 or 8000 already in use: identify the holder with
lsof -i :3000/lsof -i :8000and ask the user before killing anything. - Backend can't write to
/data/db: the named volumedolls_dbis docker-managed — no host path needed. Don't propose bind-mounts unless the user asks. - Frontend hot reload not working:
Dockerfile.devrunsvitewithhost: 0.0.0.0; confirm the container has the source mounted if someone customized the compose file. - Auth errors despite
AUTH_MODE=none:ALLOW_INSECURE_LOCAL=truemust also be set — the backend refusesnonewithout it. Both are already indocker-compose.local.yml; if missing, the file was edited.
Shutting down
docker compose -f docker/docker-compose.local.yml down
Add -v only if the user explicitly wants to wipe the SQLite DB and uploaded photos.
<!-- tomevault:4.0:skill_md:2026-05-22 -->Source: bronweg/doll-inventory — distributed by TomeVault.
- Fluxly category
- DevOps
- Author-declared agents
- No explicit declaration found; this is not inferred or tested compatibility
- Static check
- 88 / 100 · heuristic scan, not runtime safety proof
- Author / version / license
- @tomevault-io · no license declared
- Fluxly token estimate
- Lean
- Fluxly setup estimate
- Guided setup
- External API key
- No requirement detected
- Detected OS requirements
- Docker
- Runtime requirements
- Docker
- Detected file/system behavior
-
- Read-only
- Write / modify
- Env read
- Detected network behavior
- Local-only
- Install commands
- None (reference only)
Profile is derived at build time from SKILL.md and install vectors. Subject to drift from author intent.
Heads up: 未限定 allowed-tools,默认拥有全部工具权限。
The current SKILL.md does not define a fixed output example. Check whether containers are already running: If nothing is up, start the stack in the background: Use --build so code changes since the last run are picked up. Omit it if the user explicitly wants a fast restart without rebuilding.
Port 3000 or 8000 already in use: identify the holder with lsof -i :3000 / lsof -i :8000 and ask the user before killing anything. Backend can't write to /data/db: the named volume dollsdb is docker-managed — no host path needed. Don't propose bind-mounts…
Add -v only if the user explicitly wants to wipe the SQLite DB and uploaded photos. Source: bronweg/doll-inventory — distributed by TomeVault. <!-- tomevault:4.0:skillmd:2026-05-22 -->
# Start the local dev stack
The local stack is defined in `docker/docker-compose.local.yml`. It already sets `AUTH_MODE=none` and `ALLOW_INSECURE_LOCAL=true` on the backend, so no extra env vars are needed.
## Steps
1. Check whether containers are already running:
```bash
docker compose -f docker/docker-compose.local.yml ps
```
2. If nothing is up, start the stack in the background:
```bash
docker compose -f docker/docker-compose.local.yml up -d --build
```
Use `--build` so code changes since the last run are picked up. Omit it if the user explicitly wants a fast restart without rebuilding.
3. After `up` returns, confirm both services are healthy:
```bash
docker compose -f docker/docker-compose.local.yml ps
```
4. Print the URLs:
- Frontend: http://localhost:3000
- Backend API: http://localhost:8000
- Backend docs (FastAPI Swagger): http://localhost:8000/docs
5. If the user wants live logs, tail them:
```bash
docker compose -f docker/docker-compose.local.yml logs -f
```
## Troubleshooting
- **Port 3000 or 8000 already in use**: identify the holder with `lsof -i :3000` / `lsof -i :8000` and ask the user before killing anything.
- **Backend can't write to `/data/db`**: the named volume `dolls_db` is docker-managed — no host path needed. Don't propose bind-mounts unless the user asks.
- **Frontend hot reload not working**: `Dockerfile.dev` runs `vite` with `host: 0.0.0.0`; confirm the container has the source mounted if someone customized the compose file.
- **Auth errors despite `AUTH_MODE=none`**: `ALLOW_INSECURE_LOCAL=true` must also be set — the backend refuses `none` without it. Both are already in `docker-compose.local.yml`; if missing, the file was edited.
## Shutting down
```bash
… Author text anchors workflow facts; Fluxly only indexes current sections, terms, files, and commands.
sections -> Steps → Troubleshooting → Shutting down
terms -> Port 3000 or 8000 already in use · Backend can't write to /data/db · Frontend hot reload not working · Auth errors despite AUTHMODE=none
files/cmd -> docker/docker-compose.local.yml · AUTHMODE=none · ALLOWINSECURELOCAL=true · --build · lsof -i :3000 · lsof -i :8000 · /data/db · dollsdb
body sha256 -> 21663a9d0051
Decide Fit First
Design Intent
How To Use It
Boundaries And Review