visuddhinanda f62e4f24c5 增加 全文搜索导入 4 лет назад
..
group_vars 1ae0b9b608 :package: add deploy tasks 4 лет назад
migaration 6519a2ba6c :bug: 源sqlite表名错误 4 лет назад
roles 1ae0b9b608 :package: add deploy tasks 4 лет назад
staging 1ae0b9b608 :package: add deploy tasks 4 лет назад
.gitignore e9265581dc 忽略 *.log 4 лет назад
README.md 1ae0b9b608 :package: add deploy tasks 4 лет назад
install.bat 9ff4afc89a 修改错误的php文件名 cli 4 лет назад
install.md f6a042455a 将path.php 换成 config.php 4 лет назад
install.sh f62e4f24c5 增加 全文搜索导入 4 лет назад
mint.yml 1ae0b9b608 :package: add deploy tasks 4 лет назад
ping.yml 1ae0b9b608 :package: add deploy tasks 4 лет назад

README.md

Deployment

Setup a cluster

# create cluster
mkdir -p clients/CLUSTER/.ssh
cd clients/CLUSTER
# append your cluster hosts
touch hosts
# generate ssh key
ssh-keygen -t ed25519 -f .ssh/id_ed25519
# upload the ssh public key to target host
ssh-copy-id -i .ssh/id_ed25519 USER@HOST

Deploy

# test ssh connections
peony -i staging ping.yml
# run on all hosts
peony -i staging pi.yml
# run on only group
peony -i staging pi.yml -l GROUP

System image