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

🔧 Set default image to steffo45/jupyterlab-docker-sophon

See https://hub.docker.com/repository/docker/steffo45/jupyterlab-docker-sophon and https://github.com/Steffo99/jupyterlab-docker-sophon
This commit is contained in:
Steffo 2021-09-13 19:25:03 +02:00
parent d06959dc06
commit 4d5cbb149a
4 changed files with 13 additions and 23 deletions

View file

@ -32,34 +32,12 @@
</value>
</option>
</inspection_tool>
<inspection_tool class="PyPep8Inspection" enabled="true" level="WEAK WARNING" enabled_by_default="true">
<option name="ignoredErrors">
<list>
<option value="E501" />
</list>
</option>
</inspection_tool>
<inspection_tool class="PyPep8NamingInspection" enabled="true" level="WEAK WARNING" enabled_by_default="true">
<option name="ignoredErrors">
<list>
<option value="N806" />
</list>
</option>
</inspection_tool>
<inspection_tool class="PyRelativeImportInspection" enabled="true" level="WARNING" enabled_by_default="true" />
<inspection_tool class="PyReturnFromInitInspection" enabled="true" level="ERROR" enabled_by_default="true" />
<inspection_tool class="PySetFunctionToLiteralInspection" enabled="true" level="WEAK WARNING" enabled_by_default="true" />
<inspection_tool class="PyStringFormatInspection" enabled="true" level="ERROR" enabled_by_default="true" />
<inspection_tool class="PyTrailingSemicolonInspection" enabled="true" level="WEAK WARNING" enabled_by_default="true" />
<inspection_tool class="PyUnnecessaryBackslashInspection" enabled="true" level="WEAK WARNING" enabled_by_default="true" />
<inspection_tool class="PyUnresolvedReferencesInspection" enabled="true" level="WARNING" enabled_by_default="true">
<option name="ignoredIdentifiers">
<list>
<option value="pydantic.main.BaseModel.__root__" />
<option value="telethon.client.telegramclient.TelegramClient.__await__" />
</list>
</option>
</inspection_tool>
<inspection_tool class="RegExpAnonymousGroup" enabled="true" level="WEAK WARNING" enabled_by_default="true" />
<inspection_tool class="RegExpEscapedMetaCharacter" enabled="true" level="WEAK WARNING" enabled_by_default="true" />
<inspection_tool class="RegExpOctalEscape" enabled="true" level="WEAK WARNING" enabled_by_default="true" />

View file

@ -3,7 +3,7 @@
<component name="ClojureProjectResolveSettings">
<currentScheme>IDE</currentScheme>
</component>
<component name="ProjectRootManager" version="2" languageLevel="JDK_15">
<component name="ProjectRootManager" version="2" languageLevel="JDK_15" project-jdk-name="Poetry (backend)" project-jdk-type="Python SDK">
<output url="file://$PROJECT_DIR$/out" />
</component>
<component name="PythonCompatibilityInspectionAdvertiser">

View file

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="RunConfigurationProducerService">
<option name="ignoredProducers">
<set>
<option value="com.android.tools.idea.compose.preview.runconfiguration.ComposePreviewRunConfigurationProducer" />
</set>
</option>
</component>
</project>

View file

@ -72,6 +72,7 @@ class Notebook(SophonGroupModel):
("jupyter/r-notebook", "Python + R"),
("jupyter/pyspark-notebook", "Python (Scientific) + Apache Spark"),
("jupyter/all-spark-notebook", "Python (Scientific) + Scala + R + Apache Spark"),
("steffo45/jupyterlab-docker-sophon", "Python (Sophonic)"),
)
container_image = models.CharField(
@ -79,6 +80,7 @@ class Notebook(SophonGroupModel):
help_text="The Docker image to run for this notebook.",
choices=IMAGE_CHOICES,
max_length=256,
default="steffo45/jupyterlab-docker-sophon",
)
# TODO: Find a way to prevent Internet access without using the --internal flag, as it doesn't allow to expose ports