~ashton314/docker_dev_db

Elixir Mix task to quickly spin up a PostgreSQL database in a docker container for easy development
~ashton314/public-inbox

New mailing list added

a month ago

#1 Submit to Hex

~ashton314 filed ticket on docker_dev_db todo

a month ago

#DockerDevDb

Quick-and-easy mix task to spin up a PostgreSQL database for development.

#Description

Phoenix uses PostgreSQL as its database by default. For development, running a database inside of a container is often convenient. This little package adds a simple mix task to make spinning up a Docker container with a PostgreSQL database running in it a piece of cake.

#Installation

If available in Hex, the package can be installed by adding docker_dev_db to your list of dependencies in mix.exs:

def deps do
  [
    {:docker_dev_db, "~> 0.1.0", only: :dev}
  ]
end

#Configuration

Add the following to your config/dev.exs file:

config :docker_db,
  project_slug: "my_cool_app"

#Authors