Getting started with Elixir Phoenix using Docker

I am working through the Grox.io course on Phoenix Liveview.
Having come back to this after a while I had forgotten the database setup.

Here is what I have reconstructed, using Docker:

docker run -d -e POSTGRES_PASSWORD=postgres -p 5432:5432 postgres:11
mix ecto.create
mix phx.server

This enabled me to get started again.

Leave a comment