File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ while [[ true ]]; do
54
54
55
55
# If the container restarted, the ip address would have changed
56
56
# Get the current ip address right before it is used
57
- if [[ $HOST_NETWORK ]]; then
57
+ if [[ $HOST_NETWORK == 0 ]]; then
58
58
CONTAINER_IP=" localhost"
59
59
else
60
60
CONTAINER_IP=$( docker inspect $APPNAME --format " {{.NetworkSettings.IPAddress}}" )
Original file line number Diff line number Diff line change 1
1
export function checkAppStarted ( list , api ) {
2
2
const script = api . resolvePath ( __dirname , 'assets/meteor-deploy-check.sh' ) ;
3
- const { app, proxy } = api . getConfig ( ) ;
4
- const exposedPort = app . deployCheckPort || app . env . PORT || 80 ;
5
- const publishedPort = 80 ;
3
+ const { app } = api . getConfig ( ) ;
4
+ const publishedPort = app . docker . imagePort || 80 ;
6
5
7
6
list . executeScript ( 'Verifying Deployment' , {
8
7
script,
9
8
vars : {
10
9
deployCheckWaitTime : app . deployCheckWaitTime || 60 ,
11
10
appName : app . name ,
12
- deployCheckPort : proxy ? publishedPort : exposedPort
11
+ deployCheckPort : publishedPort
13
12
}
14
13
} ) ;
15
14
You can’t perform that action at this time.
0 commit comments