Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Jun 12 2015 14:01
    sup homies
Luke Campbell
@lukecampbell
by the way, docker is awesome
ansible+docker = win
Dave Foster
@daf
how are you using the two together
Luke Campbell
@lukecampbell
ansible sets up docker
pretty much
OOI uses it the most actually
spin up a host on aws, use ansible to install dependencies and docker
deploy docker images on host
then use ansible to set up nginx
and iptables
Dave Foster
@daf
nice
i had tried using ansible inside of a docker image to set up the image itself, but it was so opaque and didn't take advantage of docker's caching at all
can save you a lot of time if you use aws
Dave Foster
@daf
we don't, but thanks
and we use ansible a lot too :)
Kyle Wilcox
@kwilcox
This message was deleted
Luke Campbell
@lukecampbell
so, I think this will work for flask applications
I didn't have to modify werkzeug
just make a new route method
this only works for things defined with the decorators, urls made from blueprints or anything else won't work this way
but for glider-dac, at least, it's a start
Kyle Wilcox
@kwilcox
nice
Luke Campbell
@lukecampbell
I take it all back
tested, it works
so that way you can have N number of reverse proxies all with their own prefixes
and it will work just fine
which is what I really need for that subdomain proxying