first commit

This commit is contained in:
rjb
2025-12-23 16:21:04 +08:00
commit b425ce3e32
20 changed files with 1766 additions and 0 deletions

22
docker-compose.yml Normal file
View File

@@ -0,0 +1,22 @@
version: '3.8'
services:
mkdocs:
image: squidfunk/mkdocs-material:latest
container_name: mkdocs
restart: unless-stopped
ports:
- "8000:8000" # HTTP 端口映射:主机 8000 -> 容器 8000
volumes:
- .:/docs # 挂载整个项目目录到 /docs
working_dir: /docs
command: serve --dev-addr=0.0.0.0:8000
environment:
- MKDOCS_SERVE_ADDR=0.0.0.0:8000
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8000/"]
interval: 30s
timeout: 10s
retries: 3
start_period: 10s