Files
baiyue-firstleg/deploy/docker-compose.lingxing-browser.yml
2026-09-23 08:58:56 +08:00

32 lines
884 B
YAML

name: firstleg-lingxing-${DEPLOY_ENV:-development}
services:
lingxing-browser:
build:
context: ./docker/lingxing-browser
image: ${LINGXING_BROWSER_IMAGE:-firstleg-lingxing-browser:dev}
container_name: firstleg-${DEPLOY_ENV:-development}-lingxing-browser
restart: unless-stopped
init: true
ports:
- "127.0.0.1:${LINGXING_NOVNC_PORT:-6080}:6080"
volumes:
- lingxing-browser-profile:/profile
networks:
- firstleg-network
healthcheck:
test: ["CMD-SHELL", "wget -q -O - http://127.0.0.1:9222/json/version >/dev/null || exit 1"]
interval: 15s
timeout: 5s
start_period: 30s
retries: 5
networks:
firstleg-network:
external: true
name: firstleg-${DEPLOY_ENV:-development}-network
volumes:
lingxing-browser-profile:
name: firstleg-${DEPLOY_ENV:-development}-lingxing-browser-profile