macropin / docker-strider

Strider-CD Docker Image
https://hub.docker.com/r/macropin/strider/
MIT License
13 stars 13 forks source link

Can't connect on port 3000 #7

Closed emcniece closed 7 years ago

emcniece commented 7 years ago

Followed the instructions in the README but for some reason the container won't accept connections on port 3000. I tested some other apps on port 3000 just to make sure that the port wasn't being blocked, and the port is indeed available.

Container logs:

>> Strider Docker Image master Starting...
entry.sh >> Set MONGO_HOST=172.17.0.2, MONGO_PORT=27017
entry.sh >> Set SMTP_HOST=172.17.0.3, SMTP_PORT=587
entry.sh >> Set DB_URI=mongodb://172.17.0.2:27017/strider
entry.sh >> Copying node_modules from cache...
Exec'ing command strider
20 forked

Any ideas?

emcniece commented 7 years ago

Got it - forgot to bind the host-facing port.

docker run -d --link mongo --link smtp -p 3000:3000 macropin/strider
emcniece commented 7 years ago

Need to make a user before first logging in, but this issue is solved.