0
開始使用Dokku中的零宕機時間部署,它無法檢查CHECKS文件。Dokku零宕機部署檢查失敗
檢查文件內容,/home/dokku/oktob/CHECKS
WAIT=30 # Wait 1/2 minute
TIMEOUT=60 # Timeout after a minute
ATTEMPTS=10 # attempt checks 10 times
/pages/about [email protected]
/assets/twitter-f5f5e668ebe5e0324b1cc9f568d47e2d.jpg
應用程序是在178.62.102.155運行時,所述第一路徑是,第二個是一個image
這是部署失敗消息
-----> Discovering process types
Procfile declares types -> web
-----> Releasing oktob...
-----> Deploying oktob...
-----> Checking status of PostgreSQL
Found image postgresql/oktob database
Checking status... ok.
-----> Running pre-flight checks
Waiting 5 seconds ...
checking with: curl -q --compressed --fail --location --max-time 30 http://172.17.1.167:5000WAIT=30
remote: % Total % Received % Xferd Average Speed Time Time Time Current
remote: Dload Upload Total Spent Left Speed
remote: 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: 172.17.1.167:5000WAIT=30
remote: /usr/local/bin/dokku: line 42: 21380 Killed dokku deploy "$APP"
To [email protected]:oktob
! [remote rejected] zero-downtime-deploy -> master (pre-receive hook declined)
error: failed to push some refs to '[email protected]:oktob'