Skip to content

Commit

Permalink
Merge pull request #80 from peopledoc/docker-compose
Browse files Browse the repository at this point in the history
  • Loading branch information
Joachim Jablon authored Jul 22, 2020
2 parents 0be550d + 4fbccd5 commit 8e8f5c8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CONTRIBUTING.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ TL;DR
.. code-block:: console
$ # Export libpq env vars for PG connection
$ export PGDATABASE=septentrion PGHOST=localhost PGUSER=postgres
$ export PGDATABASE=septentrion PGHOST=localhost PGUSER=postgres PGPASSWORD=password
$ # Launch PostgreSQL within Docker
$ compose up -d
Expand Down Expand Up @@ -46,7 +46,7 @@ to the docker setup. Feel free to adjust them as necessary.

.. code-block:: console
$ export PGDATABASE=septentrion PGHOST=localhost PGUSER=postgres
$ export PGDATABASE=septentrion PGHOST=localhost PGUSER=postgres PGPASSWORD=password
Create your development database
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Expand Down
3 changes: 3 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,6 @@ services:
postgres:
image: postgres:10
ports: ["5432:5432"]
environment:
POSTGRES_DB: septentrion
POSTGRES_PASSWORD: password

0 comments on commit 8e8f5c8

Please sign in to comment.