News for hackers. Stuff that matters.
Re:The Docker Compose Specification by andybak on Tuesday April 07, 2020 @04:27PM (#22807143)
I guess but Ansible > Digital Ocean wouldn't have helped me get a local dev environment. For that I needed containers or a VM - and containers are a much lighter solution.

I literally wasted nearly a day and filled up my drive with compilation artifacts last time I tried getting GeoDjango working. All those binary dependencies, subtle OS config changes and custom Postgres extensions can be a pain.

So given my need for local deploy and remote deploy it's hard to think of a better solution.

Re:The Docker Compose Specification by 3dpancake on Wednesday April 08, 2020 @12:29AM (#22810074)
I haven't yet figured out a comfortable local and remote docker solution yet, but I regularly use ansible for this.

I usually spin up a local lxc container and point the ansible scripts at it using a dev inventory file. Mount the source code from the host filesystem onto the the container and I'm ready to go.