CB production in docker

23 views
Skip to first unread message

phang.m...@gmail.com

unread,
Mar 17, 2018, 5:40:58 AM3/17/18
to ChicagoBoss
Hi,

Anyone can run CB production in docker ?

i try using docker-compose, but fail as the cb start will fork to background.

googling with no result and still not able to figure it out.

using docker-compose run  on dev mode is success, but will attach the console all the time.

anyone success with docker can share how to do it.

Thanks,

phang.m...@gmail.com

unread,
Mar 23, 2018, 11:39:58 AM3/23/18
to ChicagoBoss

Hi,

I manage to get it work on docker.

Seems the start.sh script run cb in production with detach mode. 
Docker expect a running console after fired.

So in production mode need to make it still attach to erlang console. i don't want to run in dev mode with console for production.

So i have mod boss_rebar.erl and the init.sh 

i m not sure if anyone will need this. i push it to my repo and will make pull request on github.

Thanks

Graeme Defty

unread,
Mar 23, 2018, 11:52:59 AM3/23/18
to chica...@googlegroups.com
Hi,

I have a feeling that  this will certainly be useful to me.

I have been thinking of re-deploying my production system in Docker for some time now. This may give me the shove I need to tackle it.

Thanks for the good work.

Graeme



--
You received this message because you are subscribed to the Google Groups "ChicagoBoss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chicagoboss+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/chicagoboss.
To view this discussion on the web visit https://groups.google.com/d/msgid/chicagoboss/a02ed2b7-c836-4d23-ae65-41063135c1ec%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Phang Mulianto

unread,
Apr 10, 2018, 1:29:45 PM4/10/18
to ChicagoBoss
Hi Graeme,

I ended with using docker bcoz i move my dev machine to new version, then i cannot compile my erlang even using kerl, something error with the ssl / crypto.

Tired of it so try docker image.

glad it can be usefull somehow.

To unsubscribe from this group and stop receiving emails from it, send an email to chicagoboss...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages