Update Readme about postgres docker
This commit is contained in:
parent
73fac765de
commit
bbe34b6055
15
README.md
15
README.md
@ -28,4 +28,17 @@ curl -X POST \
|
||||
-d '{"query": "mutation { createUser(firstname: \"John\", lastname: \"Snow\") { id,firstname,lastname } }"}' \
|
||||
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
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user