xnote icon indicating copy to clipboard operation
xnote copied to clipboard

docker-compose.yaml无法启动

Open netesheng opened this issue 5 months ago • 1 comments

docker-compose.yaml内容如下 services: xnote: image: donjuanplatinum/xnote:latest container_name: xnote restart: unless-stopped ports: - 36911:1234 volumes: - ./data:/data - ./boot.docker.properties:/home/config/boot/boot.docker.properties network_mode: bridge

boot.docker.properties直接使用项目文件config/boot/boot.docker.properties文件,也尝试了其他启动文件 也是报同样错误

启动后报错信息如下 xnote | python: can't open file 'sentinel.py': [Errno 2] No such file or directory xnote | python: can't open file 'sentinel.py': [Errno 2] No such file or directory xnote | python: can't open file 'sentinel.py': [Errno 2] No such file or directory

netesheng avatar Nov 05 '25 01:11 netesheng

@netesheng 我用项目里的文件启动是成功的,原来的docker-compose.yaml是这样的,volumes里面的第三行- ../xnote:/home加上呢?

 volumes:
   - ./data:/home/data
   - ./boot.local.properties:/home/config/boot/boot.sae.properties
   - ../xnote:/home

xupingmao avatar Nov 10 '25 13:11 xupingmao