20 lines
366 B
YAML
20 lines
366 B
YAML
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 |