Commit Graph

101 Commits

Author SHA1 Message Date
Ayaz Salikhov
5fbcb0dff5 Fix redirect docker docs links 2024-08-19 12:53:39 +01:00
Simon Li
6e437aa489 Make start.sh the entrypoint (#2087) 2024-01-22 08:47:48 +04:00
Ayaz Salikhov
0386b2a630 Remove some double spaces 2024-01-15 14:48:54 +04:00
Ayaz Salikhov
a63a9a6fcb Document root homedir (#2079)
* Document root homedir

* Add link to issue
2024-01-14 22:56:24 +04:00
Ayaz Salikhov
d8c60bc42c Fix more grammar issues 2023-11-19 12:16:19 +01:00
Ayaz Salikhov
d03229331a Fix some grammar issues 2023-11-19 02:09:26 +01:00
Ayaz Salikhov
011a724ba5 Update common.md 2023-11-18 12:20:55 +01:00
Ayaz Salikhov
00a6728161 Move from Docker Hub to quay.io (#2010)
* Move from Docker Hub to quay.io

* Fix http->https

* Update registry-overviews

* Remove Docker Hub name
2023-10-20 22:31:45 +02:00
Ayaz Salikhov
4adbb05073 Add docker.io to docker run commands 2023-10-19 21:26:48 +02:00
Yuvi Panda
bceaead5d2 Migrate start-notebook & start-singleuser to python (#2006)
* Migrate start-notebook.sh to bash

Based on

> Stop using bash, haha 👍

from https://github.com/jupyter/docker-stacks/issues/1532.

If there's more apetite for this, I'll try to migrate
`start.sh` and `start-singleuser.sh` as well - I think they should
all be merged together. We can remove the `.sh` suffixes for
accuracy, and keep symlinks in so old config still works. Since
the shebang is what is used to launch the correct interpreter,
the `.sh` doesn't matter.

Will help fix https://github.com/jupyter/docker-stacks/issues/1532,
as I believe all those things are going to be easier to do from
python than bash

* Rename start-notebook.sh to start-notebook

* Cleanup start-notebook a little

* Fix typo

* Migrate start-singleuser as well

* Remove unused import

* Run symlink commands as root

* Combine repetitive RUN commands

* Remove multiple args to env

-u can not be set by shebang, we must set the env var
instead

* Fix conditional inversion

Co-authored-by: Ayaz Salikhov <mathbunnyru@users.noreply.github.com>

* Fix how start-singleuser is exec'd

* Actually call jupyterhub-singleuser in start-singleuser

* Pass through any additional args we get

* Put .py suffix on the start-* scripts

* Add .sh shims for the start-* scripts

* Document start-notebook.sh and start-singleuser.sh

* Partially test start-notebook.sh

* Reflow warning docs

Co-authored-by: Ayaz Salikhov <mathbunnyru@users.noreply.github.com>

---------

Co-authored-by: Ayaz Salikhov <mathbunnyru@users.noreply.github.com>
2023-10-17 14:46:43 +02:00
Ayaz Salikhov
74bbd0bffc Implement run-hooks as a separate script (#1979)
* Implement run-hooks as a separate script

* Add more tests

* Add more docs
2023-08-25 01:53:00 +04:00
Ayaz Salikhov
a7a4be9e39 Fix more broken links 2023-08-19 17:42:45 +02:00
Ayaz Salikhov
afe6311991 Fix usage for -w in docs (#1967) 2023-08-13 18:43:17 +04:00
Ayaz Salikhov
b5003a0259 Add docs how to change frontend for JupyterHub singleuser image (#1957)
* Add docs how to change frontend for JupyterHub singleuser image

* Update common.md
2023-08-02 11:45:04 +04:00
Ayaz Salikhov
e2a3c33d30 Fix start.sh location in docs 2023-07-31 13:17:41 +04:00
Ayaz Salikhov
df06e24103 Improve wording in docs about Jupyter Notebook (#1949)
* Improve wording in docs about Jupyter Notebook

* Fixes

* Better naming

* Apply suggestions from code review
2023-07-28 12:16:02 +04:00
Ayaz Salikhov
bfe5f20914 Use correct ServerApp options in examples and tests (#1947) 2023-07-26 20:09:47 +04:00
Ayaz Salikhov
8dbeaa5401 Remove --quiet flag when not needed (#1887) 2023-03-09 15:52:20 +04:00
Ayaz Salikhov
73debbc0f1 Remove unrelevant information about healthcheck 2023-02-28 14:27:19 +04:00
Ayaz Salikhov
d3a9357e68 Fix grammar 2023-02-16 11:25:10 +04:00
Ayaz Salikhov
91870f7a4a Update common.md 2023-02-09 13:57:29 +04:00
Muhammad Aji Muharrom
0d324bc0b3 Parameterize healthcheck by internal port (#1859)
* Use the JUPYTER_PORT environment variable to configure server port

- Remove port setting in jupyter_server_config.py
- Declare the $JUPYTER_PORT env on the base Dockerfile
- Use it for HEALTHCHECK

* Add test case for JUPYTER_PORT env variable

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Update documentation

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Update style

* Better wording

* Better wording

* Add test for custom internal port

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Parametrize internal port test case

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Try to fix test

* Better tests

Co-authored-by: Muhammad Aji Muharrom <ajimuharrom@uchicago.edu>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Ayaz Salikhov <mathbunnyru@users.noreply.github.com>
Co-authored-by: Ayaz Salikhov <mathbunnyru@gmail.com>
2023-01-24 11:19:39 +04:00
Ayaz Salikhov
dcea9a572f Fix broken url 2022-11-13 01:47:23 +04:00
Kevin Bates
10e52ee843 Create base image to base-notebook for non-server Jupyter applications (#1825)
* Create base-jupyter from base-notebook for non-server jupyter applications

* Fix pre-commit errors and begin test refactoring

* More test refactoring

* Add base-jupyter to images_hierarchy

* Use folder work instead of .jupyter in nb-user test

* Add base-jupyter to tagging hierarchy

* Linting: trailing comma

* Apply review comments, remove obsolute Miniforge reference

* Add self-signed cert comment back to base-notebook doc

* Update docs/using/selecting.md

Co-authored-by: Ayaz Salikhov <mathbunnyru@users.noreply.github.com>

* Remove redundant apt-get upgrade per review

* Remove b/c approaches per review

* Move test_nb_user_change back to base-notebook tests, per review

* fix linting

* Rename base-jupyter to docker-stacks-foundation, per review

* Rename tests/base-jupyter to docker-stacks-foundation

* Use alphabetical order

* Use alphabetical order

* Fix markdown style

* Split test_nb_user_change between the foundation and base tests

Co-authored-by: Ayaz Salikhov <mathbunnyru@users.noreply.github.com>
2022-11-13 01:44:44 +04:00
Ayaz Salikhov
d42a0b8ffa Rename master->main in all the source code 2022-07-07 14:51:09 +04:00
irvcaza
df919dbcbc notebook updated to jupyter_server 2022-07-02 12:47:33 -05:00
irvcaza
7efcf03026 Default Hash changed to Argon
Now passwd() returns an argon2 hash by default.
2022-07-02 00:34:11 -05:00
pre-commit-ci[bot]
e49abd45cb [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2022-06-29 04:11:01 +00:00
irvcaza
9219b8cc16 Line split to comply with linting
docs/using/common.md:13:201 MD013/line-length Line length [Expected: 200; Actual: 253]
2022-06-28 23:10:42 -05:00
irvcaza
02846c2b49 Update passwd function
The use of `IPython.lib.passwd()` does not match with Jupyter server documentation 
https://jupyter-server.readthedocs.io/en/latest/operators/public-server.html#preparing-a-hashed-password
and may lead to confusion on how to import/use it.
2022-06-28 23:00:31 -05:00
Ayaz Salikhov
812c713a64 Fix PyCharm issues 2022-03-16 16:47:30 +02:00
romainx
4bef40f531 Switch the default to jupyter_server_config.py 2022-02-11 23:03:11 +01:00
Ayaz Salikhov
48a41e5da5 Beautiful docs 2022-02-11 23:41:16 +03:00
Ayaz Salikhov
b4036d6361 Fix wrong links 2022-02-07 15:52:50 +03:00
Tania Allard
bdb0bcdbe9 📝 DOC: Minor style changes 2022-02-07 10:54:11 +00:00
Ayaz Salikhov
9a5700a431 Add must, where needed 2022-02-05 14:20:33 +03:00
Ayaz Salikhov
d3adf90e91 More docs cleanup 2022-02-04 02:02:53 +03:00
Ayaz Salikhov
ce93de8e2a Fix typo 2022-02-02 12:59:39 +03:00
Ayaz Salikhov
ff63c762e5 More notes 2022-02-02 12:54:27 +03:00
Ayaz Salikhov
12ccbf5149 Apply suggestions from code review
Co-authored-by: Erik Sundell <erik.i.sundell@gmail.com>
2022-02-02 12:41:16 +03:00
Ayaz Salikhov
28a0f4c8b4 Cleanup docs 2022-02-02 01:19:38 +03:00
Tania Allard
72fb3b9480 📝 Fix common.md 2022-01-31 12:40:38 +00:00
Tania Allard
6b57b34145 📝 Minor changes to common 2022-01-29 09:07:42 +00:00
Tania Allard
f2a843071e 📝 Structure improvements to common.md 2022-01-29 09:03:27 +00:00
Tania Allard
3152f60dea Merge remote-tracking branch 'upstream/master' into trallard/docs 2022-01-29 08:50:21 +00:00
Tania Allard
eb4beea973 📝 Changes to configuration section 2022-01-28 18:01:01 +00:00
Tania Allard
b68ff7f67f 📝 Minor improvements to docs 2022-01-28 17:16:26 +00:00
Tania Allard
0ce5f7b49d 📝 Changes to common.md 2022-01-28 11:50:57 +00:00
Ayaz Salikhov
2c1cd43504 Update common.md 2022-01-27 21:18:19 +03:00
Ayaz Salikhov
4e83d109b2 Match the docs style 2022-01-27 21:13:27 +03:00