feat(phase1-2): finish macmini base setup, lock agy route to SG Azure, and start Lucky container
This commit is contained in:
1 parent
96b899bb6f
commit
71997c6134
6 files changed
+123
-16
No files matched your search
@@ -0,0 +1,16 @@
|
|||||||
|
# ==============================================================================
|
||||||
|
# Azure 2C4G (104.43.105.243 / sea.961504.xyz) 云边协同反向代理配置
|
||||||
|
# 前提:Azure 与家里 Mac mini 已通过 Tailscale 组网连通(将 <MAC_MINI_TAILSCALE_IP> 替换为实际 Tailscale IP)
|
||||||
|
# ==============================================================================
|
||||||
|
|
||||||
|
# 1. 外部断网哨兵监控面板 (Uptime Kuma)
|
||||||
|
status.961504.xyz {
|
||||||
|
encode zstd gzip
|
||||||
|
reverse_proxy 127.0.0.1:3001
|
||||||
|
}
|
||||||
|
|
||||||
|
# 2. 家庭导航/服务免端口 443 反代示例(通过 Tailscale 加密隧道回源到家里 Mac mini)
|
||||||
|
# home.961504.xyz {
|
||||||
|
# encode zstd gzip
|
||||||
|
# reverse_proxy <MAC_MINI_TAILSCALE_IP>:16601
|
||||||
|
# }
|
||||||
@@ -0,0 +1,23 @@
|
|||||||
|
services:
|
||||||
|
uptime-kuma:
|
||||||
|
image: louislam/uptime-kuma:1
|
||||||
|
container_name: uptime-kuma
|
||||||
|
restart: always
|
||||||
|
ports:
|
||||||
|
- "127.0.0.1:3001:3001"
|
||||||
|
volumes:
|
||||||
|
- ./uptime-kuma-data:/app/data
|
||||||
|
environment:
|
||||||
|
- TZ=Asia/Shanghai
|
||||||
|
|
||||||
|
caddy:
|
||||||
|
image: caddy:2-alpine
|
||||||
|
container_name: caddy-edge
|
||||||
|
restart: always
|
||||||
|
network_mode: host
|
||||||
|
volumes:
|
||||||
|
- ./Caddyfile:/etc/caddy/Caddyfile:ro
|
||||||
|
- ./caddy_data:/data
|
||||||
|
- ./caddy_config:/config
|
||||||
|
environment:
|
||||||
|
- TZ=Asia/Shanghai
|
||||||
Reference in new issue
Block a user