Add Docker (copyparty) and Caddy config

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Alvis
2026-03-08 07:26:47 +00:00
parent 0059631aa6
commit 97748daafb

View File

@@ -36,6 +36,7 @@ Documentation and configuration reference for the Juris remote server.
|--------------|----------|---------| |--------------|----------|---------|
| 443 | → LXD proxy → xray container | Xray VPN (VLESS+XHTTP+Reality) | | 443 | → LXD proxy → xray container | Xray VPN (VLESS+XHTTP+Reality) |
| 16627 | → LXD proxy → xray container | x-ui admin panel | | 16627 | → LXD proxy → xray container | x-ui admin panel |
| 3999 | → Caddy → Docker copyparty (3923) | File sharing |
| 22 | 22 | SSH | | 22 | 22 | SSH |
## LXD ## LXD
@@ -93,6 +94,42 @@ lxc exec xray -- systemctl restart x-ui
lxc exec xray -- journalctl -u x-ui -f lxc exec xray -- journalctl -u x-ui -f
``` ```
## Docker
### copyparty
File sharing server running in Docker.
| Setting | Value |
|---------|-------|
| Image | `copyparty/ac:latest` |
| Container name | `copyparty` |
| Port | `3923` (host) → `3923` (container) |
| Data | `/mnt/data/shared` (408GB) |
| State | Running (healthy), up 3 weeks |
```bash
sudo docker ps
sudo docker logs copyparty
sudo docker restart copyparty
```
## Caddy
Config: `/etc/caddy/Caddyfile`
```
share.alogins.net:3999 {
reverse_proxy localhost:3923
}
```
Caddy handles TLS termination for the copyparty file server. Traffic flow:
```
share.alogins.net:3999 → Caddy (TLS) → localhost:3923 → Docker copyparty → /mnt/data/shared
```
## Xray VPN Configuration ## Xray VPN Configuration
See [ai-xray repo](http://localhost:3000/alvis/ai-xray) for full benchmark and config details. See [ai-xray repo](http://localhost:3000/alvis/ai-xray) for full benchmark and config details.