visuddhinanda b810db1dcc Merge branch 'master' of https://github.com/iapt-platform/mint 4 years ago
..
group_vars 1ae0b9b608 :package: add deploy tasks 4 years ago
migaration fd87f7a85b :bug: 查询 sqlite pali-sim 不能用 where true 4 years ago
multi_process_install 4cee640c87 多进程安装 4 years ago
roles 1ae0b9b608 :package: add deploy tasks 4 years ago
staging 1ae0b9b608 :package: add deploy tasks 4 years ago
.gitignore e9265581dc 忽略 *.log 4 years ago
README.md 1ae0b9b608 :package: add deploy tasks 4 years ago
install.bat 4cee640c87 多进程安装 4 years ago
install.md f6a042455a 将path.php 换成 config.php 4 years ago
install.sh 1d010eed73 暂时不更新 full text search 4 years ago
mint.yml 1ae0b9b608 :package: add deploy tasks 4 years ago
ping.yml 1ae0b9b608 :package: add deploy tasks 4 years ago

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