Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions cookiecutter.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"project_name": "project_name",
"jupyter_image": ["base-notebook", "minimal-notebook", "r-notebook", "scipy-notebook", "tensorflow-notebook", "datascience-notebook", "pyspark-notebook", "all-spark-notebook"],
"jupyter_password": "changeme1234",
"postgres_db_password": "changeme1234",
"shared_db_password": "changeme1234",
Expand Down
1 change: 1 addition & 0 deletions {{cookiecutter.project_name}}/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
__pycache__
17 changes: 17 additions & 0 deletions {{cookiecutter.project_name}}/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
.PHONY: jupyter apistar run run-daemon

run: jupyter apistar
docker-compose up

run-daemon:
docker-compose up -d

jupyter:
docker-compose build $@

apistar:
docker-compose build $@

clean:
docker-compose rm -fv
docker-compose down -v
2 changes: 1 addition & 1 deletion {{cookiecutter.project_name}}/services/apistar/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3
FROM python:3.6

WORKDIR /usr/src/app

Expand Down
2 changes: 1 addition & 1 deletion {{cookiecutter.project_name}}/services/jupyter/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM jupyter/scipy-notebook
FROM jupyter/{{cookiecutter.jupyter_image}}

USER root

Expand Down