This repo contains postgres 13.0
JSON interpolation and querying using docker
as an environment wrapper.
It's two exercises wrapped into one:
- Working with docker and postgres in a variety of ways.
- JSON and JSONB querying.
There are four examples demonstrating a variety of ways to spin up a dockerized postgres instance.
- Create a new superuser via SQL script rather than passing in a POSTGRES_USER ENV variable.
- The POSTGRES_USER ENV variable is not used to connect in docker but through a 3rd party GUI client like pgadmin or postico.
- https://wkrzywiec.medium.com/database-in-a-docker-container-how-to-start-and-whats-it-about-5e3ceea77e50
- https://www.vertabelo.com/blog/json-and-postgresql-a-powerful-combination/
- https://kb.objectrocket.com/postgresql/postgres-insert-json-example-1270
- https://www.postgresql.org/docs/13/datatype-json.html
- https://hub.docker.com/_/postgres