phabricator安装教程

文章目录
  1. 1. 安装
  2. 2. 设置邮箱通知
  3. 3. 安装 中文包
  4. 4. 遗留问题

本教程采用 docker 安装 请自行 google 安装

安装

1
2
3
docker pull hachque/phabricator

docker run -d --restart=always -p 8082:80 -p 443:443 -p 2222:2222 --env PHABRICATOR_HOST=你的域名 --env MYSQL_HOST= localhost --env MYSQL_USER=root --env MYSQL_PASS=123456 --env PHABRICATOR_REPOSITORY_PATH=/repos -v /storage/phabricator/repo/path:/repos -v /storage/phabricator/local:/srv/phabricator/phabricator/src/extensions hachque/phabricator

设置邮箱通知

  • 进入容器

    1
    docker exec -it 容器 id  /bin/bash
  • 进入/srv/phabricator/phabricator/目录 进行有限 smtp 配置

    1
    2
    3
    4
    5
    ./bin/config set phpmailer.smtp-host smtp.exmail.qq.com
    ./bin/config set phpmailer.smtp-port 465
    ./bin/config set phpmailer.smtp-protocol SSL
    ./bin/config set phpmailer.smtp-user 邮箱帐号
    ./bin/config set phpmailer.smtp-password 邮箱密码

安装 中文包

  • 下载中文包
    中文包

  • 将中文包放到宿主映射的目录下
    /storage/phabricator/local 对应的是容器下的目录 /srv/phabricator/phabricator/src/extensions

遗留问题

此时进入系统会有两个提示,一个是推荐安装 acpu 和 cdn 配置

评论