Import data into postgres

  • container name: ces-postgres
  • database name: capacity-estimation-service
docker cp .\file.sql ces-postgres:/my_folder
docker exec -it ces-postgres sh
psql postgres -h localhost -d capacity-estimation-service -f file.sql