Skip to content

Commit

Permalink
Add volume to docker-compose
Browse files Browse the repository at this point in the history
  • Loading branch information
agent3bood authored and steve-chavez committed May 23, 2018
1 parent e0e4d68 commit b32ba7a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,9 @@ To avoid having to install the database at all, you can run both it and the serv
POSTGRES_DB: app_db
POSTGRES_USER: app_user
POSTGRES_PASSWORD: password
# Uncomment this if you want to persist the data.
# volumes:
# - "./pgdata:/var/lib/postgresql/data"
Go into the directory where you saved this file and run :code:`docker-compose up`. You will see the logs of both the database and PostgREST, and be able to access the latter on port 3000.

Expand Down

0 comments on commit b32ba7a

Please sign in to comment.