A PostgreSQL & Adminer & Metabase Stack with Docker Compose
Start up the containers with Docker Compose
docker-compose up -d
Stop the containers and remove them:
docker-compose stop && docker-compose rm -f
Now visit:
- Adminer:
http://[Host IP Address]:8888
(Then connect PostgreSQL Database with hostnamepostgres
)] - Metabase:
http://[Host IP Address]:3000
The dataset is fetched from the SQL (Third Edition) Visual QuickStart Guide site, which is written and made by Chris Fehily, all credits goes to Chris.
And according to the Initialization scripts Instruction Section from the Postgres Container, the container will run all the scripts in the /docker-entrypoint-initdb.d
path, so I made the add-example.sh
to add the example data, and the data source is come from the sql_vqs3_files
directory.