Update Readme about postgres docker

This commit is contained in:
Matthieu Lamalle 2019-07-24 17:40:27 +02:00
parent 73fac765de
commit bbe34b6055
1 changed files with 14 additions and 1 deletions

View File

@ -29,3 +29,16 @@ curl -X POST \
http://localhost:8383
```
## Postgres
Si besoin, lancer un serveur postgres via Docker
```
mkdir $HOME/docker/postgres/volumes
docker run --rm -d \
--name postgres \
-e POSTGRES_PASSWORD=postgres \
-p 5432:5432 \
-v $HOME/docker/postgres/volumes:/var/lib/postgresql/data \
postgres
```