Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/paultag/dockerfdw
Docker FDW
https://github.com/paultag/dockerfdw
Last synced: 2 months ago
JSON representation
Docker FDW
- Host: GitHub
- URL: https://github.com/paultag/dockerfdw
- Owner: paultag
- Created: 2014-09-18T01:28:25.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-09-24T19:14:07.000Z (over 10 years ago)
- Last Synced: 2024-10-14T19:21:31.233Z (3 months ago)
- Language: Python
- Size: 187 KB
- Stars: 67
- Watchers: 8
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
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.```bash
$ fig build pg
$ fig up -d pg
$ fig logs
```_note_: password is `docker`
```bash
$ 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)
```