diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 000000000..4eb901a95 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,3 @@ +FROM python:3.6 +COPY requirements.txt /requirements.txt +RUN pip install jupyterlab==2.1.4 -r /requirements.txt diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 000000000..6ab7de6dc --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,19 @@ +version: '3' +services: + + jupyter: + build: . + entrypoint: jupyter lab --ip=0.0.0.0 --port=8888 --allow-root --no-browser + network_mode: host + volumes: + - .:/hct + - ~/.jupyter:/root/.jupyter + working_dir: /hct + + postgres: + environment: + - POSTGRES_DB=holo + - POSTGRES_USER=holocleanuser + - POSTGRES_PASSWORD=abcd1234 + image: postgres:11 + network_mode: host