ex-scopes/config/dev.exs

26 lines
646 B
Elixir

# scopes: development config file
import Config
config :logger, :default_handler,
config: [
file: ~c"log/scopes_dev.log"
]
config :scopes, Scopes.Repo,
username: "testuser",
password: "secret",
hostname: "localhost",
database: "scopes_dev",
stacktrace: true,
show_sensitive_data_on_connection_error: false,
pool_size: 10
config :scopes, Scopes.Web.Server.Endpoint,
# Binding to loopback ipv4 address prevents access from other machines.
# Change to `ip: {0, 0, 0, 0}` to allow access from other machines.
http: [ip: {127, 0, 0, 1}, port: 8800],
check_origin: false,
code_reloader: true,
debug_errors: true