Skip to content

A collection of useful Docker Compose configuration files, for speeding up tool deployment

License

Notifications You must be signed in to change notification settings

Bash-/container-templates

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A collection of useful Docker Compose configuration files, for speeding up tool deployment

Spark Cluster with PySpark and Jupyter Notebook

For experimenting with PySpark on a Spark Cluster.

Deployment
cd spark_cluster-pyspark_notebook
sudo docker-compose up --scale spark-worker=[NUMBER_OF_WORKERS]

(Fill in NUMBER_OF_WORKERS, int > 0)

Usage
  • Access Jupyter Notebook via the link (with access token) found in terminal logs
  • Access Spark GUI via http://localhost:8080/
  • Volume is mounted on ./notebooks and ./data
Troubleshooting

Jupyter Notebook does not have write access on local volume (e.g. ./notebooks): sudo chmod 777 ./notebooks

PostGIS

Postgres database with PostGIS extension for geospatial analysis

Deployment

Fill in database credentials in file database.env

cd postgis
sudo docker-compose up
Usage
  • Access database via local port 8082 using your credentials

About

A collection of useful Docker Compose configuration files, for speeding up tool deployment

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published