Created
December 13, 2014 23:04
-
-
Save jarohen/f43f14f9e2f9e2542dcc to your computer and use it in GitHub Desktop.
Example phoenix config, dispatching on user
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{:db {::component my-app.db/make-db-component | |
:host "host" | |
:port 5432 | |
:schema "myapp_test"} | |
:webapp {::component my-app.web/make-webapp | |
:db ::dep | |
:port 3000} | |
:phoenix/environments {"prod" | |
{:db {:schema "myapp_prod"} | |
:webapp {:port 3000}}} | |
:phoenix/hosts {"some-host" | |
{:webapp {:port 8080} | |
:phoenix/users {"malcolm" | |
{:webapp {:port 8090}} | |
"james" | |
{:webapp {:port 8091}}}}}} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment