File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ interaction:
1414
1515provision :
1616 - dip build
17- - dip up -d redis
18- - dip up -d backend
17+ - dip compose --compatibility up -d redis
18+ - dip compose --compatibility up -d backend
1919 - dip backend_wait
20- - dip up -d
20+ - dip compose --compatibility up -d
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ services:
44 frontend :
55 build : ../frontend
66 environment :
7- - BACKEND_URL=http://localhost :8888
7+ - BACKEND_URL=http://${BACKEND_HOST} :8888
88 ports :
99 - " 8000:80"
1010
Original file line number Diff line number Diff line change @@ -14,9 +14,9 @@ pipeline{
1414 echo "Deploying to ${target}"
1515 sh """
1616 rsync --delete -rzhe "ssh -o StrictHostKeyChecking=no" ./ root@${target_host}:/app/
17- ssh -o StrictHostKeyChecking=no root@${target_host} 'cd /app/.deployment; dip provision'
17+ ssh -o StrictHostKeyChecking=no root@${target_host} 'export BACKEND_HOST=${target_host}; cd /app/.deployment; dip provision'
1818 """
19- sh "timeout 120 wget --retry-connrefused --tries=120 --waitretry=1 -q http://${target_host}:80808888 /instances -O /dev/null"
19+ sh "timeout 120 wget --retry-connrefused --tries=120 --waitretry=1 -q http://${target_host}:8888 /instances -O /dev/null"
2020 }
2121 }
2222 }
You can’t perform that action at this time.
0 commit comments