dokku-postgres-plugin

A working Postgres plugin for Dokku (run Docker with -icc=true)

4 years after

Postgres plugin for Dokku

Project: https://github.com/progrium/dokku

Installation

cd /var/lib/dokku/plugins
git clone https://github.com/jezdez/dokku-postgres-plugin postgres
dokku plugins-install

This plugin also requires the dokku-link plugin to be installed: https://github.com/rlaneve/dokku-link

It uses the excellent PostgreSQL docker image by the people at Orchard.

Commands

$ dokku help
     postgres:create <app>            Create a Postgres container
     postgres:delete <app>            Delete specified Postgres container
     postgres:info <app>              Display container informations
     postgres:link <app> <container>  Link an app to a Postgres container
     postgres:logs <app>              Display last logs from Postgres contain

Simple usage

Create a new Container:

$ dokku postgres:create foo            # Server side
$ ssh [email protected] postgres:create foo # Client side

-----> Postgres container created: postgres/foo

       Host: 172.16.0.104
       Private port: 5432

Advanced usage

Deleting containers:

dokku postgres:delete foo

Linking an app to a specific container:

dokku postgres:link foo bar

Postgres logs (per container):

dokku postgres:logs foo

Postgres information:

dokku postgres:info foo

Related Repositories

docker-resources

docker-resources

Docker resources collection. docker资源汇总 ...

dokku-postgres

dokku-postgres

BETA: a postgres plugin for dokku ...

awesome-heroku

awesome-heroku

A curated list of helpful Heroku resources. ...

dokku-psql-single-container

dokku-psql-single-container

Plugin for dokku that provides a Postgresql server in a single container ...

dokku-postgresql-plugin

dokku-postgresql-plugin

Plugin to setup postgresql accounts for containers deployed with Dokku ...


Top Contributors

jezdez darkpixel glogiotatidis philippbosch elbaschid