Git Product home page Git Product logo

dokku-postgres-plugin's Introduction

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 dokku@server 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

dokku-postgres-plugin's People

Contributors

darkpixel avatar glogiotatidis avatar jezdez avatar philippbosch avatar roadsideseb avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

dokku-postgres-plugin's Issues

what's the default password?

Apologies if this is a super noob question, but rails gives me a PG::BadConnection error because I didn't supply a password. The postgres plugin doesn't ask me to supply a password, so what's the default password?

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.