Skip to content

Instantly share code, notes, and snippets.

@avitorio
Created October 3, 2019 19:46
Show Gist options
  • Save avitorio/176152255219f0f4a645d05e5ae16ca4 to your computer and use it in GitHub Desktop.
Save avitorio/176152255219f0f4a645d05e5ae16ca4 to your computer and use it in GitHub Desktop.
docker run --name postgres -e POSTGRES_PASSWORD=password -p 5432:5432 -d -t postgres
docker run --name mongo -p 27017:27017 -d -t mongo
docker run --name redis -p 6379:6379 -d -t redis:alpine
docker exec -i -t postgres /bin/sh
su postgres
CREATE DATABASE bootcampnodejs;
\q
exit
exit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment