NOTE: Do not try this solution unless your machines has ample ram available. I have been successful uploading the Yelp database file after allocating 14GB of ram to the Docker VM. OOM crashes are likely if less ram is used.
This repo is a simple docker-compose file which:
- Starts a
postgreSQLserver on port5432 - Starts an
Adminerdatabase management service on port8080with a custom php config to allow massive file uploads
Docker Docker-compose
- Run
docker-compose -f stack.yml up - Go to
http://localhost:8080in your favorite browser - Enter in your database credentials
- System: postgreSQL
- Host: use your computer's local IP. Should be something like
192.168.20.1 - Username: postgres
- Password: test
- Make sure database server is running and login to adminer
- On the left hand side of the screen you should see an import link