This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-02-18
Channels
- # admin-announcements (3)
- # announcements (7)
- # aws (1)
- # beginners (76)
- # boot (340)
- # cider (9)
- # clara (35)
- # cljs-dev (7)
- # cljsjs (16)
- # cljsrn (11)
- # clojars (1)
- # clojure (192)
- # clojure-dev (6)
- # clojure-madison (8)
- # clojure-russia (373)
- # clojurebridge (1)
- # clojured (9)
- # clojurescript (172)
- # community-development (1)
- # core-async (2)
- # cursive (7)
- # data-science (2)
- # datomic (12)
- # devcards (1)
- # dirac (63)
- # emacs (3)
- # events (10)
- # gsoc (3)
- # hoplon (1)
- # jobs (1)
- # juxt (20)
- # ldnclj (4)
- # lein-figwheel (12)
- # leiningen (1)
- # off-topic (21)
- # om (232)
- # onyx (64)
- # parinfer (8)
- # proton (21)
- # re-frame (8)
- # reagent (1)
- # ring (3)
- # ring-swagger (3)
- # slack-help (4)
- # spacemacs (6)
- # testing (3)
I like Man on the Moon but I hate the song they used in the movie Man on the Moon. I don't get why they used a different song.
anyone here using codeship? I'm trying to pass arguments to a service. Normally you can do this in docker-compose.yml with command: "..."
if you would integration test some services running in docker containers, which languages or libraries would you write the tests with?
@borkdude: that’s something I’m responsible for at my gig - I just use clojure.test, http libs (http-kit in my case) and the same db libs as the code base that’s under test. Is there anything specifically you’re interested in breaking?
@borkdude: Yeah. We use docker-compose with the new docker networking stuff to make the containers see each other.
@borkdude: I probably can’t share my work stuff at the moment, but I can whip up a sanitized demo over the weekend, probably?
@lfn3: I was wondering about this today: docker containers can see each other, like, they can ping each other if they know each others ip addresses right?
@lfn3: that would be amazing if it's not too much to ask. Meanwhile I could discuss if using clojure for this is ok
Right yeah. I mean I’ve got an easier time of it with that, since we’re mostly Clojure aside from the frontend.
As for the containers being able to reach each other - that depends to a pretty large degree on the networking setup - most of the time every container you spawn can see every other one fine, but that can be customized.
With docker compose usually you want to isolate that set of containers, and it’ll do things to the hosts file or dns resolution to make it easier to find the other containers without resorting to ip addresses.
@borkdude: sure. There’s this stuff about networking in compose: https://docs.docker.com/compose/networking/ and https://docs.docker.com/engine/userguide/networking/dockernetworks/ which is a bit more detailed. Have you used compose or container links much?