Skip to content

Latest commit

 

History

History
47 lines (30 loc) · 738 Bytes

README.md

File metadata and controls

47 lines (30 loc) · 738 Bytes

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