mirror of
https://github.com/jupyter/docker-stacks.git
synced 2025-10-15 05:52:57 +00:00
Add example for deploying notebook container using Docker Compose.
(c) Copyright IBM Corp. 2016
This commit is contained in:
22
examples/docker-compose/notebook/secure-notebook.yml
Normal file
22
examples/docker-compose/notebook/secure-notebook.yml
Normal file
@@ -0,0 +1,22 @@
|
||||
# Copyright (c) Jupyter Development Team.
|
||||
# Distributed under the terms of the Modified BSD License.
|
||||
|
||||
version: "2"
|
||||
|
||||
services:
|
||||
notebook:
|
||||
build: .
|
||||
image: my-notebook
|
||||
container_name: ${NAME}
|
||||
volumes:
|
||||
- "work:/home/jovyan/work"
|
||||
ports:
|
||||
- "${PORT}:8888"
|
||||
environment:
|
||||
USE_HTTPS: "yes"
|
||||
PASSWORD: ${PASSWORD}
|
||||
|
||||
volumes:
|
||||
work:
|
||||
external:
|
||||
name: ${WORK_VOLUME}
|
Reference in New Issue
Block a user