jorgeramirez / pgxl

Dockerfile for a simple Postgres-XL cluster

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PGXL

This is the Dockerfile for pgxl image that runs a Postgres-XL cluster. The cluster is made of one coordinator and two datanodes. Good for testing purposes.

Build & Run

$ docker build --tag=pgxl .
$ docker run -d -P --name pgxl pgxl

Now you have a running cluster, to interact with you can log into the running container and use psql.

$ docker exec -it pgxl /bin/bash
$ psql

Custom DB initialization

# Dockerfile
FROM jorgeramirez/pgxl

ADD init.sql /pgxl-initdb.d/

Credentials

Database user/password

postgres/postgres

SO root user/password

root/admin

License

MIT © Jorge Ramírez

About

Dockerfile for a simple Postgres-XL cluster

License:MIT License


Languages

Language:Shell 100.0%