1import Config
2
3# Configure your database
4config :comet, Comet.Repo,
5 username: "comet",
6 password: "comet",
7 hostname: "localhost",
8 database: "comet_dev",
9 stacktrace: true,
10 show_sensitive_data_on_connection_error: true,
11 pool_size: 10
12
13# For development, we disable any cache and enable
14# debugging and code reloading.
15#
16# The watchers configuration can be used to run external
17# watchers to your application. For example, we can use it
18# to bundle .js and .css sources.
19config :comet, CometWeb.Endpoint,
20 # Binding to loopback ipv4 address prevents access from other machines.
21 # Change to `ip: {0, 0, 0, 0}` to allow access from other machines.
22 http: [ip: {127, 0, 0, 1}, port: 4000],
23 check_origin: false,
24 code_reloader: true,
25 debug_errors: true,
26 secret_key_base: "Vw9UaVO8YBKiooaOlZ2Rhx7xJHydL9s2YIviOwiiQz8Cy24+mLBB3Fj+9jvOIdQE",
27 watchers: []
28
29# ## SSL Support
30#
31# In order to use HTTPS in development, a self-signed
32# certificate can be generated by running the following
33# Mix task:
34#
35# mix phx.gen.cert
36#
37# Run `mix help phx.gen.cert` for more information.
38#
39# The `http:` config above can be replaced with:
40#
41# https: [
42# port: 4001,
43# cipher_suite: :strong,
44# keyfile: "priv/cert/selfsigned_key.pem",
45# certfile: "priv/cert/selfsigned.pem"
46# ],
47#
48# If desired, both `http:` and `https:` keys can be
49# configured to run both http and https servers on
50# different ports.
51
52# Enable dev routes for dashboard and mailbox
53config :comet, dev_routes: true
54
55# Do not include metadata nor timestamps in development logs
56config :logger, :console, format: "[$level] $message\n"
57
58# Set a higher stacktrace during development. Avoid configuring such
59# in production as building large stacktraces may be expensive.
60config :phoenix, :stacktrace_depth, 20
61
62# Initialize plugs at runtime for faster development compilation
63config :phoenix, :plug_init_mode, :runtime