Skip to content

mfpinhal/pghero_solo

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PgHero Solo

This repository is a containerized, standalone instance of the excellent PgHero engine. It allows you to pass a DATABASE_URL environment variable to run PgHero within Docker against your database without having to mount this inside your Rails application. It allows all the benefits of PgHero while allowing you to run a separate application instance safely behind your firewall without fear of accidently exposing it through your production Rails app.

This strategy is used at Yammer to run PgHero against each of our different shards.

This repository has an automated build on the public Docker hub. To demo this and run it on OS X with boot2docker installed, you can connect to a Homebrew-installed Postgres instance like this:

docker run -ti -e DATABASE_URL=postgres://[email protected]:5432/myapp_development -p 8080:8080 bmorton/pghero

About

Containerized, standalone instance of the pghero engine

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 100.0%