https://github.com/jorgeramirez/pgxl
Dockerfile for a simple Postgres-XL cluster
https://github.com/jorgeramirez/pgxl
docker dockerfile postgres-xl postgresql
Last synced: 17 days ago
JSON representation
Dockerfile for a simple Postgres-XL cluster
- Host: GitHub
- URL: https://github.com/jorgeramirez/pgxl
- Owner: jorgeramirez
- License: mit
- Created: 2016-06-20T19:14:36.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2016-06-21T01:22:18.000Z (almost 9 years ago)
- Last Synced: 2025-04-12T00:43:18.131Z (17 days ago)
- Topics: docker, dockerfile, postgres-xl, postgresql
- Language: Shell
- Size: 3.91 KB
- Stars: 5
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: license.txt
Awesome Lists containing this project
README
# PGXL
This is the Dockerfile for [pgxl](https://hub.docker.com/r/jorgeramirez/pgxl/) image that runs a [Postgres-XL](http://www.postgres-xl.org/) 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/pgxlADD init.sql /pgxl-initdb.d/
```### Credentials
Database user/password
```
postgres/postgres
```SO root user/password
```
root/admin
```## License
MIT © Jorge Ramírez