Files
server-deploy/siyuan/.env.example

32 lines
724 B
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# ===== SiYuan 基础配置 =====
# SiYuan 访问域名(必须修改)
SIYUAN_DOMAIN=note.example.com
# Let's Encrypt 邮箱(必须修改)
CERTBOT_EMAIL=admin@example.com
# 访问授权码(必须修改,否则任何人都能访问你的数据)
SIYUAN_ACCESS_CODE=changeme
# ===== 镜像配置 =====
# SiYuan 镜像
SIYUAN_IMAGE=b3log/siyuan:latest
# 使用固定版本号(推荐生产环境):
# SIYUAN_IMAGE=b3log/siyuan:v3.6.3
# ===== 目录配置 =====
# SiYuan 工作空间目录
SIYUAN_DATA_DIR=/data/siyuan/workspace
# 备份目录
BACKUP_DIR=/var/backups/siyuan
# ===== 用户权限 =====
# 容器内运行用户/组 ID解决挂载目录权限问题
SIYUAN_PUID=1000
SIYUAN_PGID=1000