Sign inSign up

zar3bski/populated_postgres

By zar3bski

•Updated almost 7 years ago

A postgres image populated with open source data for testing and learning purposes

Image
1

363

zar3bski/populated_postgres repository overview

⁠Populated postgres

A postrgresql database pre-populated for demo / teaching purposes.

Included datasets:

This image should not be used in production

⁠Usage

Like a regular postgres image, this image accept the following ENV VAR but can be used without supplying any. In such a case, default values will be used

var namedefault value
POSTGRES_USERsome_user
POSTGRES_PASSWORDsome_password
POSTGRES_DBsome_db
⁠run with docker
docker run -d -p 5432:5432 -e "POSTGRES_DB=the_name_of_db" -e "POSTGRES_PASSWORD=some_strong_password" -e "POSTGRES_USER=some_fancy_user_name" zar3bski/populated_postgres
⁠run with docker-compose⁠
version: '3.7'

services:
  populated_db:
    container_name: populated_db
    image: zar3bski/populated_postgres
    ports:
      - 5432:5432
	environment:
      - POSTGRES_DB=the_name_of_db
      - POSTGRES_PASSWORD=some_strong_password
      - POSTGRES_USER=some_fancy_user_name

Tag summary

Content type

Image

Digest

Size

48 MB

Last updated

almost 7 years ago

docker pull zar3bski/populated_postgres