Personal playground for simple data engineering and analysis projects.
This Jupyter Notebook server is be capable of connecting to all data sources that are located in the docker-compose.yml file by using their docker-compose service names as hostnames, along with the appropriate ports. For details on the python libraries available within the jupyter-notebook runtime see the jupyter/requirements.txt file.
make jupyter
The login URL (with pre-set token) will be: http://localhost:8888/?token=cb757c6e42a6b68b6dc73685eb78e231c4baf1db2c767783
make postgres
Uses these default ENVIRONMENT VARIABLES:
POSTGRES_DATABASE
: postgresPOSTGRES_HOST
: localhostPOSTGRES_PASSWORD
: postgresPOSTGRES_PORT
: 5432POSTGRES_USER
: postgres
This will ensure postgres is running, and begin a bash
shell session from
within the postgres container:
make postgres-shell
The locally .gitignored data/
directory will be mounted in the same container
at /data
. You can pg_restore
, etc., from this shell.
This will ensure postgres is running, and begin a psql
session from within the
postgres container (no local dependencies need be met):
make psql
Exit the psql
session with <ctrl-d>
.
To start a pgAdmin4 instance at http://localhost:5050/browser/
This will ensure the local postgres server is running, and start pgAdmin4:
make pgadmin
You can now use pgAdmin to connect to any PostgreSQL instance. To connect to
the local dockerized postgres container use the credentials given above and set
the POSTGRES_HOST
to the postgres service name used in the
docker-compose.yml file:
POSTGRES_HOST
: postgres
make mysql
Uses these default ENVIRONMENT VARIABLES:
MYSQL_ROOT_PASSWORD
: mysql
This will ensure mysql is running, and begin a bash
shell session from
within the mysql container:
make mysql-shell
The locally .gitignored data/
directory will be mounted in the same container
at /data
. You can mysqldump
, etc., from this shell.
This will ensure mysql is running, and begin a mysql
session from within the
mysql container (no local dependencies need be met):
make mysql-client
Exit the mysql
session with <ctrl-d>
.
To start a phpMyAdmin instance at http://localhost:8080/
This will ensure the local mysql server is running, and start phpMyAdmin:
make phpmyadmin
The phpMyAdmin session will be automatically connected to the local mysql server, but you can use phpMyAdmin to connect to any other MySQL instance.
To start an elasticsearch instance at http://localhost:9200/
This starts a single instance:
make elasticsearch