1
This commit is contained in:
parent
055f47d88c
commit
3fa876360b
Binary file not shown.
@ -1,6 +1,6 @@
|
|||||||
# Overseas VPS Deployment
|
# 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
|
## Recommended server
|
||||||
|
|
||||||
@ -28,16 +28,17 @@ sudo systemctl status updown-dashboard
|
|||||||
|
|
||||||
## Access dashboard
|
## Access dashboard
|
||||||
|
|
||||||
From your laptop:
|
Open:
|
||||||
|
|
||||||
```bash
|
|
||||||
ssh -L 8765:127.0.0.1:8765 user@YOUR_SERVER_IP
|
|
||||||
```
|
|
||||||
|
|
||||||
Then open:
|
|
||||||
|
|
||||||
```text
|
```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
|
## Logs and data
|
||||||
|
|||||||
@ -4,7 +4,7 @@ services:
|
|||||||
container_name: updown-dashboard
|
container_name: updown-dashboard
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
ports:
|
ports:
|
||||||
- "127.0.0.1:8765:8765"
|
- "0.0.0.0:8765:8765"
|
||||||
volumes:
|
volumes:
|
||||||
- ./data:/app/data
|
- ./data:/app/data
|
||||||
environment:
|
environment:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user