npm i package.json
sudo docker pull dpage/pgadmin4
sudo docker network create --driver bridge postgres-network
sudo docker run --name pgadmin --network=postgres-network -p 15432:80 -e "PGADMIN_DEFAULT_EMAIL=[email protected]" -e "PGADMIN_DEFAULT_PASSWORD=postgres" -d dpage/pgadmin4
sudo docker run --name postgres --network=postgres-network -e POSTGRES_PASSWORD=docker -p 5432:5432 -d postgres
sudo docker exec api-vendas_db_1 psql -c "CREATE DATABASE apivendas" -U postgres
npm run typeorm migration:run
sudo docker run --name redis -p 6379:6379 -d -t redis:alpine
sudo docker run --name some-redis -d redis
sudo docker run -it --network some-network --rm redis redis-cli -h some-redis