-
Notifications
You must be signed in to change notification settings - Fork 0
/
mix.exs
39 lines (36 loc) · 1 KB
/
mix.exs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
defmodule DynamoBoilerplate.Mixfile do
use Mix.Project
def project do
[ app: :dynamo_boilerplate,
version: "0.0.1",
dynamos: [DynamoBoilerplate.Dynamo],
compilers: [:elixir, :dynamo, :app],
env: [prod: [compile_path: "ebin"]],
compile_path: "tmp/#{Mix.env}/dynamo_boilerplate/ebin",
deps: deps ]
end
# Configuration for the OTP application
def application do
[ applications: [:exlager, :cowboy, :dynamo],
env: [
eredis_pool: [
default: [
size: 10,
max_overflow: 10,
host: '127.0.0.1',
port: 6379,
database: 5,
password: '',
reconnect_sleep: 20
]
]
],
mod: { DynamoBoilerplate, [] } ]
end
defp deps do
[ { :cowboy, github: "extend/cowboy" },
{ :exlager, github: "khia/exlager" },
{ :eredis_pool, github: "hiroeorz/eredis_pool" },
{ :dynamo, tag: "elixir-0.10.1", github: "elixir-lang/dynamo" } ]
end
end