Skip to content

Commit a30c51a

Browse files
committed
Allow open sign-up
1 parent 616c17e commit a30c51a

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Possible **use cases** include:
1616

1717
This deployment is **NOT** intended for a production environment.
1818
It is a reference implementation that does not meet traditional
19-
requirements in terms of availability nor scalability.
19+
requirements in terms of availability, scalability, or security.
2020

2121
If you are looking for a more robust solution to host JupyterHub, or
2222
you require scaling beyond a single host, please check out the
@@ -31,6 +31,7 @@ Key components of this reference deployment are:
3131
in a Docker container on the host.
3232

3333
- **Authenticator**: Uses [Native Authenticator](https://github.com/jupyterhub/nativeauthenticator) to authenticate users.
34+
Any user will be allowed to sign-up
3435

3536
- **Spawner**:Uses [DockerSpawner](https://github.com/jupyter/dockerspawner)
3637
to spawn single-user Jupyter Notebook servers in separate Docker
@@ -55,13 +56,12 @@ This deployment uses Docker, via [Docker Compose](https://docs.docker.com/compos
5556

5657
This deployment uses [JupyterHub Native Authenticator](https://native-authenticator.readthedocs.io/en/latest/) to authenticate users.
5758

58-
1. An single `admin` user will be enabled be default.
59+
1. An single `admin` user will be enabled be default. Any user will be allowed to signup.
5960

6061
## Build the JupyterHub Docker image
6162

6263
1. Use [docker-compose](https://docs.docker.com/compose/reference/) to build
63-
the JupyterHub Docker image on the active Docker machine host by running
64-
the `make build` command:
64+
the JupyterHub Docker image:
6565

6666
```bash
6767
docker-compose build
@@ -92,7 +92,7 @@ Notebook image, which is built from the `minimal-notebook`
9292
You can pull the image using the following command:
9393

9494
```bash
95-
docker pull jupyter/minimal-notebook
95+
docker pull jupyter/minimal-notebook:latest
9696
```
9797

9898
## Run JupyterHub

jupyterhub_config.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,9 @@
5757
# Authenticate users with Native Authenticator
5858
c.JupyterHub.authenticator_class = "nativeauthenticator.NativeAuthenticator"
5959

60+
# Allow anyone to sign-up without approval
61+
c.NativeAuthenticator.open_signup = True
62+
6063
# Allowed admins
6164
admin = os.environ.get("JUPYTERHUB_ADMIN")
6265
if admin:

0 commit comments

Comments
 (0)