version: '3.7' services: lsxd: build: context: . dockerfile: Dockerfile_lsxd image: qing7260/lsxd:latest container_name: lsxd restart: always environment: - "TZ=Asia/Shanghai" tty: true volumes: - ./:/app # 进入项目根目录 # 启动命令 # docker compose up # 进入容器 # docker exec -it lsxd /bin/bash