Sign inSign up

zsoltm/postgresql-armhf

By zsoltm

•Updated over 11 years ago

PostgreSQL for ARM-HF architecture (e.g. banana-pi), loosely based on official docker PGSQL

Image
6

9.0K

zsoltm/postgresql-armhf repository overview

⁠PostgreSQL

Loosely based on official docker postgres⁠ repository.

⁠Supported tags

⁠How to use this image

Primarily it's meant to be linked to an application that uses it.

Start a postgres instance:

docker run --name postgres-for-shiny-app -e POSTGRES_PASSWORD=mysecretpassword -d zsoltm/postgresql-armhf

... and and start an application linked to it:

docker run --name shiny-app-instance --link postgres-for-shiny-app:postgres -d your/shiny-app

Optionally if you need to thinker your PostgreSQL DB manually, you might run a psql connected to it easily:

docker run -it --link postgres-for-shiny-app:postgres --rm postgres sh -c 'exec psql -h "$POSTGRES_PORT_5432_TCP_ADDR" -p "$POSTGRES_PORT_5432_TCP_PORT" -U $POSTGRES_ENV_POSTGRES_USER'

⁠Environment Variables

It's highly recommended to specify these rather than going with the default values.

  • POSTGRES_USER - User to create a database for, defaults to postgres.
  • POSTGRES_PASSWORD - Pasword for POSTGRES_USER or postgres with superuser rights.

Tag summary

Content type

Image

Digest

sha256:6854843df…

Size

-

Last updated

over 11 years ago

docker pull zsoltm/postgresql-armhf