GithubHelp home page GithubHelp logo

bbc / agensgraph-docker Goto Github PK

View Code? Open in Web Editor NEW

This project forked from turicas/agensgraph-docker

1.0 2.0 0.0 582 KB

Agensgraph Docker image based on official PostgreSQL image

License: MIT License

Shell 64.06% Dockerfile 35.94%

agensgraph-docker's Introduction

Agensgraph Docker

This is a Agensgraph Docker image based on the official PostgreSQL Docker image (not on Agensgraph's image, which has some issues). The current Agensgraph source is based on PostgreSQL 10.3.

Building

git clone https://github.com/turicas/agensgraph-docker.git
docker build -t turicas/agensgraph:2.1.3 agensgraph-docker/10

Running

To have a better experience, you may want to have a specific password, a separate volume for data, change the shared memory size and publish the server port into the host machine:

docker run \
	--name=myagens \
	--env POSTGRES_PASSWORD=myprecious \
	--env PGDATA=/var/lib/postgresql/data/pgdata \
	--env GRAPH_DB=agens \
	--volume $(pwd)/agens-data:/var/lib/postgresql/data \
	--shm-size=256MB \
	--publish 15432:5432 \
	--detach \
	turicas/agensgraph:2.1.3

Note: agens is the default graph name and you don't need to pass GRAPH_DB if you don't want to change it.

You can then connect to the server from the host machine:

psql postgres://postgres:myprecious@localhost:15432/postgres
# then: SET graph_path = agens; ...

Check also the official PostgreSQL Docker image documentation.

agensgraph-docker's People

Contributors

bakavic avatar clkao avatar codrut-fc avatar danieldent avatar docker-library-bot avatar dtrebbien avatar hakandilek avatar hkjn avatar j0wi avatar j616 avatar jouve avatar knickers avatar md5 avatar michael-k avatar ncopa avatar p0123n avatar pahaz avatar piotrbrzuska avatar rchicoli avatar renzok avatar reversteam avatar rothgar avatar ruslantalpa avatar simi avatar sixcorners avatar sprin avatar tianon avatar turicas avatar yaroze avatar yosifkit avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.