Jeremy Zheng 59e37065b6 :truck: move deploy from public folder 4 yıl önce
..
group_vars 59e37065b6 :truck: move deploy from public folder 4 yıl önce
migaration 59e37065b6 :truck: move deploy from public folder 4 yıl önce
roles 59e37065b6 :truck: move deploy from public folder 4 yıl önce
staging 59e37065b6 :truck: move deploy from public folder 4 yıl önce
.gitignore 59e37065b6 :truck: move deploy from public folder 4 yıl önce
README.md 59e37065b6 :truck: move deploy from public folder 4 yıl önce
install.bat 59e37065b6 :truck: move deploy from public folder 4 yıl önce
install.md 59e37065b6 :truck: move deploy from public folder 4 yıl önce
install.sh 59e37065b6 :truck: move deploy from public folder 4 yıl önce
mint.yml 59e37065b6 :truck: move deploy from public folder 4 yıl önce
ping.yml 59e37065b6 :truck: move deploy from public folder 4 yıl önce
upgrade_redis.bat 59e37065b6 :truck: move deploy from public folder 4 yıl önce
upgrade_redis.sh 59e37065b6 :truck: move deploy from public folder 4 yıl önce

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

Crontab

Daily

  1. upgrade_pali_toc.php

    /public/app/upgrade/upgrade_pali_toc.php
    

time: 17:00 UTC