Skip to content

Commit

Permalink
Added dev db in config
Browse files Browse the repository at this point in the history
  • Loading branch information
nkezhaya committed Oct 15, 2020
1 parent 1be667d commit 90a6a9e
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions config/dev.exs
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,20 @@ config :stripe_mock, StripeMockWeb.Endpoint,
check_origin: false,
watchers: []


config :stripe_mock, StripeMock.Database, enabled: false

config :stripe_mock, StripeMock.Repo,
adapter: Ecto.Adapters.Postgres,
database: "stripe_mock_dev",
hostname: "localhost",
port: 5432,
username: "postgres",
password: "postgres",
pool: Ecto.Adapters.SQL.Sandbox,
ownership_timeout: 30_000,
timeout: 30_000

# ## SSL Support
#
# In order to use HTTPS in development, a self-signed
Expand Down

0 comments on commit 90a6a9e

Please sign in to comment.