Then okay. You can have the synapse-conf.json file point to any other files
you want. You still need that single synapse-conf.json file which points at
them.


On Fri, Apr 18, 2014 at 11:34 AM, Nathan Herzing
<notifications@github.com>wrote:

> In README.md:
>
> > @@ -24,10 +24,21 @@ ADD resources/immutant/my-immutant-project.clj /servers/my-immutant-project/
> >  ```
> >
> >  Then, when you run the Immutant container, you attach each project's
> > -Docker container with the `--volumes-from` flag. For example:
> > +Docker container with the `--volumes-from` flag.
> > +
> > +This container uses [synapse](https://github.com/airbnb/synapse) for
> > +service discovery, and can include multiple configurations which
> > +choose from at runtime. Place `synapse-conf.json` files at
> > +`/env-configs/immutant/{ENVIRONMENT}/sypapse-conf.json`. You choose
> > +the configuration to use by setting `ENVIRONMENT` on the container at
> > +runtime.
> > +
>
> The single config file can reference a directory which contains a file for
> each service to be discovered. Check out
> https://github.com/airbnb/synapse/blob/master/config/svcdir_test.json for
> an example.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/turbovote/immutant-docker/pull/2/files#r11775418>
> .
>



-- 
Chris Shea
Software Developer
Democracy Works, Inc. (We make TurboVote)