Live data from Hacker News

Docker Compose Wrapper

github.com

11–20 of 25 posts

Re: Docker Compose Wrapper

#12
post #10
post #8

This might be more helpful - https://github.com/grammarly/rocker-compose

would you recommend it over docker-compose? Because I'm really searching for an alternative and it's in go, that's even better for me

I use https://github.com/michaelsauter/crane.

It has held up really well for me.

Re: Docker Compose Wrapper

#14
post #10
post #8

This might be more helpful - https://github.com/grammarly/rocker-compose

would you recommend it over docker-compose? Because I'm really searching for an alternative and it's in go, that's even better for me

There's also this one: https://github.com/azukiapp/azk

Re: Docker Compose Wrapper

#15
post #10
post #8

This might be more helpful - https://github.com/grammarly/rocker-compose

would you recommend it over docker-compose? Because I'm really searching for an alternative and it's in go, that's even better for me

I'm using azk[0] for my development workflow with 30+ services defined in one Azkfile.js. It automatically setups http load balancers and dns services for you, no need for container linking.

[0] https://github.com/azukiapp/azk

Re: Docker Compose Wrapper

#17
Does any of these solutions give me back live-reload when developing web apps on OSX ?

As far as I know the code is uploaded into the container and only gets replaced when the image is re-created. At which point there are issues with private git dependencies because it can't access the SSH_AUTH_SOCK.

Re: Docker Compose Wrapper

#19
post #17

Does any of these solutions give me back live-reload when developing web apps on OSX ? As far as I know the code is uploaded into the container and only gets replaced when the image is re-created. At which point there are issues with private git dependencies because it can't access the SSH_AUTH_SOCK.

You could host a volume into your container containing the code base. Then use any standard live reloading library to make it work.

Re: Docker Compose Wrapper

#20
post #17

Does any of these solutions give me back live-reload when developing web apps on OSX ? As far as I know the code is uploaded into the container and only gets replaced when the image is re-created. At which point there are issues with private git dependencies because it can't access the SSH_AUTH_SOCK.

You could host a volume into your container containing the code base. Then use any standard live reloading library to make it work.

If the live reloading library relies on inotifywait, it won't detect changes made on the OSX side across the volume due to issues with Virtual Box. I made a utility that I run in my container while I'm developing to trigger these events: https://github.com/sillypog/inotify-proxy
Post reply on HN