-
docker 部署思源笔记怎么改端口
2022-11-03 17:47弄好了,终稿如下:
services: siyuan: image: b3log/siyuan:v2.4.7 container_name: siyuan restart: always user: root privileged: true ports: - "6807:6806" volumes: - /root/Documents/SiYuan:/root/Documents/SiYuan networks: - vhost-net command: [--resident=true,--workspace=/root/Documents/SiYuan,--accessAuthCode=123456] stdin_open: true tty: true # 网络配置 networks: vhost-net: driver: bridge