Add Docker Compose Lingma bootstrap support
Package the proxy for Docker Compose deployments and add Lingma bootstrap, session restore, and runtime status support for containerized remote usage. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
25
docker-compose.yml
Normal file
25
docker-compose.yml
Normal file
@@ -0,0 +1,25 @@
|
||||
services:
|
||||
lingma-proxy:
|
||||
build:
|
||||
context: .
|
||||
container_name: lingma-proxy
|
||||
env_file:
|
||||
- .env
|
||||
ports:
|
||||
- "${LINGMA_PROXY_PORT:-8095}:8095"
|
||||
volumes:
|
||||
- ./data:/app/data
|
||||
- ./secrets:/secrets:ro
|
||||
restart: unless-stopped
|
||||
healthcheck:
|
||||
test:
|
||||
[
|
||||
"CMD",
|
||||
"sh",
|
||||
"-c",
|
||||
"wget -q -O - http://127.0.0.1:8095/runtime/status | grep -q '\"ok\":true'"
|
||||
]
|
||||
interval: 30s
|
||||
timeout: 5s
|
||||
retries: 3
|
||||
start_period: 20s
|
||||
Reference in New Issue
Block a user