1
Fork 0
mirror of https://github.com/Steffo99/sophon.git synced 2024-12-22 14:54:22 +00:00

🔧 Rename container to "Jupyter (Sophon)"

This commit is contained in:
Steffo 2021-11-02 15:26:19 +01:00
parent 41ed3ed4ac
commit 617af38f8c
3 changed files with 20 additions and 9 deletions

View file

@ -0,0 +1,18 @@
# Generated by Django 3.2.8 on 2021-11-02 14:25
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('notebooks', '0013_alter_notebook_container_image'),
]
operations = [
migrations.AlterField(
model_name='notebook',
name='container_image',
field=models.CharField(choices=[('ghcr.io/steffo99/sophon-jupyter', 'Jupyter (Sophon)')], default='steffo45/jupyterlab-docker-sophon',
help_text='The Docker image to run for this notebook.', max_length=256, verbose_name='Docker image'),
),
]

View file

@ -76,14 +76,7 @@ class Notebook(SophonGroupModel):
# Remember to make a migration when changing this! # Remember to make a migration when changing this!
IMAGE_CHOICES = ( IMAGE_CHOICES = (
# ("jupyter/base-notebook", "Base"), ("ghcr.io/steffo99/sophon-jupyter", "Jupyter (Sophon)"),
# ("jupyter/minimal-notebook", "Python"),
# ("jupyter/scipy-notebook", "Python (Scientific)"),
# ("jupyter/tensorflow-notebook", "Python (Tensorflow)"),
# ("jupyter/r-notebook", "Python + R"),
# ("jupyter/pyspark-notebook", "Python (Scientific) + Apache Spark"),
# ("jupyter/all-spark-notebook", "Python (Scientific) + Scala + R + Apache Spark"),
("ghcr.io/steffo99/sophon-jupyter", "Python (Sophonic)"),
) )
container_image = models.CharField( container_image = models.CharField(

View file

@ -90,7 +90,7 @@ export function NotebookCreateBox({viewSet, resource}: NotebookCreateBoxProps):
<Form.Select <Form.Select
label={"Image"} label={"Image"}
options={{ options={{
"Python (Sophonic)": "ghcr.io/steffo99/sophon-jupyter", "Jupyter (Sophon)": "ghcr.io/steffo99/sophon-jupyter",
}} }}
{...image} {...image}
/> />