Files
docker-stacks/examples/make-deploy/self-signed.makefile
Peter Parente a7b9485a0e More options for securing the notebook
* letencrypt workflow
* Don't mount self-signed secrets directory over runtime
  dir where nbextensions might be preinstalled from Dockerfile

(c) Copyright IBM Corp. 2015
2015-12-11 00:19:40 -05:00

13 lines
428 B
Makefile

# Copyright (c) Jupyter Development Team.
# Distributed under the terms of the Modified BSD License.
self-signed-notebook: PORT?=443
self-signed-notebook: NAME?=notebook
self-signed-notebook: WORK_VOLUME?=$(NAME)-data
self-signed-notebook: DOCKER_ARGS:=-e USE_HTTPS=yes \
-e PASSWORD=$(PASSWORD)
self-signed-notebook: check
@test -n "$(PASSWORD)" || \
(echo "ERROR: PASSWORD not defined or blank"; exit 1)
$(RUN_NOTEBOOK)