appstore-1panel/dockge/siyuan/docker-compose.yml

25 lines
515 B
YAML
Raw Normal View History

networks:
1panel-network:
external: true
services:
siyuan:
command:
- --workspace=/siyuan/workspace/
- --accessAuthCode=${AuthCode}
container_name: siyuan
env_file:
- ./envs/global.env
environment:
- RUN_IN_CONTAINER=true
image: b3log/siyuan:v3.1.13
labels:
createdBy: Apps
networks:
- 1panel-network
ports:
- ${PANEL_APP_PORT_HTTP}:6806
restart: always
user: 1000:1000
volumes:
- ${SIYUAN_ROOT_PATH}/workspace:/siyuan/workspace