Created
May 8, 2015 22:25
-
-
Save andrewcstewart/f5b41912747401a3db01 to your computer and use it in GitHub Desktop.
begriffs/postgrest/Dockerfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM centos | |
RUN yum install -y tar wget postgresql-devel | |
RUN wget http://bin.begriffs.com/dbapi/heroku/postgrest-0.2.8.0.tar.xz | |
RUN tar --xz -xvf postgrest-0.2.8.0.tar.xz | |
RUN mv postgrest-0.2.8.0 /usr/local/bin/postgrest | |
CMD postgrest --db-host localhost --db-port 5432 \ | |
--db-name my_db --db-user postgres \ | |
--db-pass foobar --db-pool 200 \ | |
--anonymous postgres --port 3000 \ | |
--v1schema public | |
EXPOSE 3000 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment