安装
运行以下命令以克隆回购:
git clone https://github.com/authelia/authelia.git
成功克隆后,运行以下命令:
cd authelia/compose/local
sudo ./setup.sh
Sudo需要修改 /etc /hosts文件。
现在,将example.com替换为您在设置脚本中指定的域,然后访问url [httpssecureexamplecom](https://href.li/?https://secure.example.com) 。
在Docker中跑步
运行以下命令以克隆回购:
git clone https://github.com/authelia/authelia.git
在克隆之后运行以下命令:
cd authelia/compose/lite
修改用户\ _database.yml默认用户名和密码是authelia 修改configuration.yml和docker-compose.yml与您的域和秘密 最后,运行以下命令以旋转Docker映像:
docker-compose up -d