Code Monkey home page Code Monkey logo

dockerfdw's Introduction

dockerfdw

PostgreSQL Foreign Data Wrapper for Docker!

Requirements:

  • PostgreSQL 9.2+
  • Multicorn 1.0.4
  • Fig (optional)

Quick Setup

note: fig.yml uses volume mapping, so the host must be able to volume share to the docker host.

$ fig build pg
$ fig up -d pg
$ fig logs

note: password is docker

$ psql -h 127.0.0.1 -p 5432 -U docker -W docker
psql (9.3.5)
Password for user docker:
SSL connection (cipher: DHE-RSA-AES256-SHA, bits: 256)
Type "help" for help.

docker=# select id, name, pid from docker_containers;
                                id                                |      name      |  pid
------------------------------------------------------------------+----------------+-------
 56995a1e1ebc4a56ffd190db7d09ee526d49e265ae38aa61f3d2d5cafa0add01 | /code_pg_1     | 13076
 0bb24aaa89af5f3cc463b29f7a4e613e0268a2f84c2d3be38941f7238603cd08 | /code_pg_run_5 |
(7 rows)

dockerfdw's People

Contributors

johnnydtan avatar paultag avatar sherzberg 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.