add postgres docker container command

Signed-off-by: Derek McQuay <derekmcquay@gmail.com>
This commit is contained in:
Derek McQuay 2018-04-10 19:47:22 -07:00
parent 2dc80f928b
commit ba058e7a34
No known key found for this signature in database
GPG Key ID: 50CA472F40A5AFED

View File

@ -39,3 +39,11 @@ $ hdxd run -p 8080
is the most basic way to run the application. is the most basic way to run the application.
Expects a Postgres DB with DBName 'hdx', DBUser 'dm' and running on localhost:5432 Expects a Postgres DB with DBName 'hdx', DBUser 'dm' and running on localhost:5432
Running:
```bash
docker run --name some-postgres -p 5432:5432 -e POSTGRES_USER=dm -e POSTGRES_DB=hdx -d postgres
```
Should get you a postgres DB running you can use to try it out.