This commit is contained in:
aaron 2026-05-22 09:08:11 +08:00
parent 055f47d88c
commit 3fa876360b
3 changed files with 11 additions and 10 deletions

Binary file not shown.

View File

@ -1,6 +1,6 @@
# Overseas VPS Deployment
This deployment keeps the dashboard bound to `127.0.0.1:8765` on the server. Access it with an SSH tunnel instead of exposing it publicly.
This deployment maps the dashboard to `0.0.0.0:8765` on the server so it can be reached from outside the host. Restrict access with your cloud firewall, security group, VPN, or reverse proxy authentication.
## Recommended server
@ -28,16 +28,17 @@ sudo systemctl status updown-dashboard
## Access dashboard
From your laptop:
```bash
ssh -L 8765:127.0.0.1:8765 user@YOUR_SERVER_IP
```
Then open:
Open:
```text
http://127.0.0.1:8765
http://YOUR_SERVER_IP:8765
```
If you prefer tunnel-only access, change `docker-compose.yml` back to:
```yaml
ports:
- "127.0.0.1:8765:8765"
```
## Logs and data

View File

@ -4,7 +4,7 @@ services:
container_name: updown-dashboard
restart: unless-stopped
ports:
- "127.0.0.1:8765:8765"
- "0.0.0.0:8765:8765"
volumes:
- ./data:/app/data
environment: