Commit Graph

4 Commits

Author SHA1 Message Date
timmy
a978f01d3a fix(compose): exec-form healthcheck; enable embedded DERP (tw)
- healthcheck 改 exec 形式(distroless 映像無 /bin/sh,CMD-SHELL 永遠 unhealthy)
- 補 command: serve、對外開 3478/udp(DERP STUN)
- config.yaml 內建 DERP 設為 enabled(region tw),與線上實跑一致

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-13 21:28:47 +08:00
87f52414ec fix: pin headscale image to v0.29.0 and drop removed config keys
新版 headscale 移除了部分設定鍵,搭配 watchtower 自動更新 :latest
導致容器啟動即 FATAL、無限重啟,所有節點離線。

- config.yaml: 註解 randomize_client_port(FATAL)與 ephemeral_node_inactivity_timeout(已改名)
- docker-compose.yml: image 釘到 v0.29.0,停止破壞性自動升級
- OPERATIONS.md / CLAUDE.md: 補上故障排除與升級注意事項

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-18 18:10:31 +08:00
df75c3a733 Optimize docker-compose.yml configuration
- Remove version declaration to avoid warnings
- Add healthcheck for service monitoring
- Set timezone to Asia/Taipei
- Configure logging with size limits
- Use read-only mount for config files
- Add service description label
- Remove redundant 'command: serve'
- Improve configuration structure and organization

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-03-24 10:28:30 +08:00
6d6f6e5299 Initial commit: Headscale management scripts and configuration
- Add headscale binary and configuration files
- Include management scripts for API keys, nodes, and authentication
- Add Docker setup with docker-compose
- Include backup and restore functionality
- Add example scripts for creating API keys and pre-auth keys

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-03-24 10:08:28 +08:00