Template Docker compose config
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -27,3 +27,5 @@ dist-ssr
|
|||||||
|
|
||||||
runtime/*
|
runtime/*
|
||||||
!runtime/.gitkeep
|
!runtime/.gitkeep
|
||||||
|
|
||||||
|
compose.yml
|
||||||
|
|||||||
@@ -31,7 +31,7 @@ Default panel credentials:
|
|||||||
- login: `admin`
|
- login: `admin`
|
||||||
- password: `proxy-ui-demo`
|
- password: `proxy-ui-demo`
|
||||||
|
|
||||||
For Docker runs these values come from `compose.yaml`:
|
For Docker runs these values come from your local `compose.yml`, usually created from `compose.example.yml`:
|
||||||
|
|
||||||
- `PANEL_AUTH_LOGIN`
|
- `PANEL_AUTH_LOGIN`
|
||||||
- `PANEL_AUTH_PASSWORD`
|
- `PANEL_AUTH_PASSWORD`
|
||||||
@@ -44,6 +44,7 @@ Once the API is available, dashboard/user traffic values are refreshed from live
|
|||||||
## Docker run
|
## Docker run
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
cp compose.example.yml compose.yml
|
||||||
docker compose up --build
|
docker compose up --build
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
@@ -48,3 +48,4 @@ Updated: 2026-04-02
|
|||||||
31. Moved proxy-copy into the Users actions column, added a last-seen/online column from parsed 3proxy logs, and introduced bounded websocket/API reconnect attempts with a visible connection banner and forced logout after full recovery failure.
|
31. Moved proxy-copy into the Users actions column, added a last-seen/online column from parsed 3proxy logs, and introduced bounded websocket/API reconnect attempts with a visible connection banner and forced logout after full recovery failure.
|
||||||
32. Restored proxy-link copying for plain-`http` deployments by falling back from the Clipboard API to `execCommand('copy')`, and added regression coverage for both clipboard paths.
|
32. Restored proxy-link copying for plain-`http` deployments by falling back from the Clipboard API to `execCommand('copy')`, and added regression coverage for both clipboard paths.
|
||||||
33. Replaced stale startup mock values with explicit skeleton loading states so the shell no longer flashes fallback dashboard/users/settings data before the first live snapshot arrives.
|
33. Replaced stale startup mock values with explicit skeleton loading states so the shell no longer flashes fallback dashboard/users/settings data before the first live snapshot arrives.
|
||||||
|
34. Renamed the tracked Docker Compose file to `compose.example.yml` and ignored local `compose.yml` so production-specific compose settings no longer get overwritten by pulls.
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ Updated: 2026-04-02
|
|||||||
- `000_START_HERE.md`: copy-ready continuation prompt for the next agent session
|
- `000_START_HERE.md`: copy-ready continuation prompt for the next agent session
|
||||||
- `.dockerignore`: trims Docker build context to runtime-relevant files only
|
- `.dockerignore`: trims Docker build context to runtime-relevant files only
|
||||||
- `AGENTS.md`: repository workflow rules for autonomous contributors
|
- `AGENTS.md`: repository workflow rules for autonomous contributors
|
||||||
- `compose.yaml`: Docker Compose entrypoint for the bundled panel + 3proxy runtime, including panel auth env defaults
|
- `compose.example.yml`: tracked Docker Compose template for the bundled panel + 3proxy runtime; copy it to local `compose.yml` before production edits
|
||||||
- `Dockerfile`: multi-stage image that builds the panel and compiles 3proxy
|
- `Dockerfile`: multi-stage image that builds the panel and compiles 3proxy
|
||||||
- `README.md`: quick start and current project scope
|
- `README.md`: quick start and current project scope
|
||||||
- `package.json`: frontend/backend scripts and dependencies, including combined local `dev` startup and websocket support
|
- `package.json`: frontend/backend scripts and dependencies, including combined local `dev` startup and websocket support
|
||||||
|
|||||||
Reference in New Issue
Block a user