3 Star 8 Fork 1

Gitee 极速下载 / polynote

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/polynote/polynote
克隆/下载
config-template.yml 8.40 KB
一键复制 编辑 Web IDE 原始数据 按行查看 历史
dhia gharsallaoui 提交于 2023-02-10 15:44 . add log verbosity
######### Polynote Configuration Template ##############################################################################
# To use, copy this template and name it `config.yml`
#
# cp ./config-template.yml ./config.yml
#
# Now, uncomment the section of the config that you'd like to change.
#
########################################################################################################################
########## Server-level Configuration ################################
###
### These configurations are applied immediately when Polynote starts.
###
######################################################################
###############################################################################
# The host and port can be set by uncommenting and editing the following lines.
###############################################################################
#listen:
# host: 127.0.0.1
# port: 8192
###############################################################################
# The logger verbosity level: info, warn, error (default: info)
###############################################################################
#log:
# verbosity: info
###############################################################################
# Security settings. Be careful with these!
###############################################################################
#security:
# websocket_key: only_for_testing
############################################################################################
# Storage-related configuration. Locations are all relative to Polynote's working directory.
############################################################################################
#storage:
# # The base directory Polynote should use when looking for notebooks. This location can be absolute or
# # relative to Polynote's working directory.
# dir: notebooks
# # These are additional mount points. Folders specified here will be 'mounted' into the base directory
# # and visible by their keys - so `foo: dir: bar` will show a folder `foo` in the UI that shows the contents of the
# # file system under `bar/`
# mounts:
# examples:
# dir: examples
# team_notebooks:
# dir: /shared/notebooks
# # The location Polynote puts various caches, such as virtual environments created for your notebooks.
# cache: tmp
##########################################################
# Configure the way Polynote runs Kernels and Interpreters
##########################################################
#behavior:
# dependency_isolation: false
# kernel_isolation: always
# shared_packages:
# - com.esoteric.kryo
# notebook_templates:
# - /Users/<your-name>/Desktop/templates/another_template.ipynb # we only support absolute paths
########## Notebook Creation Configuration #######################################################
###
### These configurations are applied to *new notebooks* only.
### When a *new notebook* is created, its Notebook Configuration is copied from this configuration.
### They do *not* affect existing notebooks.
###
###################################################################################################
############################################################################################
# Default repositories. Uncommenting the following lines would add four default repositories
# which are inherited by new notebooks.
############################################################################################
#repositories:
# - ivy:
# base: https://my-artifacts.org/artifacts/
# - ivy:
# base: https://my-custom-ivy-repo.org/artifacts/
# artifact_pattern: [orgPath]/[module](_[scalaVersion])(_[sbtVersion])/[revision]/[artifact]-[revision](-[classifier]).[ext]
# metadata_pattern: [orgPath]/[module](_[scalaVersion])(_[sbtVersion])/[revision]/[module](_[scalaVersion])(_[sbtVersion])-[revision]-ivy.xml
# changing: true
# - maven:
# base: http://central.maven.org/maven2/
# - maven:
# base: http://oss.sonatype.org/content/repositories/snapshots
# changing: true
############################################################################################
# Default dependencies. Uncommenting the following lines would add some default dependencies
# which are inherited by new notebooks.
############################################################################################
#dependencies:
# scala:
# - org.typelevel:cats-core_2.11:1.6.0
# - com.mycompany:my-library:jar:all:1.0.0
# python:
# - requests
# - urllib3==1.25.3
########################################################################################
# Default exclusions. Uncommenting the following lines would add some default exclusions
# which are inherited by new notebooks.
########################################################################################
#exclusions:
# - com.google.guava:guava # spark, update your guava already!!!
########## Notebook Runtime Configuration #########################################################################
###
### These configurations are applied to *all notebooks*.
### When a *new notebook* is created, its Notebook Configuration is copied from this configuration.
###
### When an existing notebook is *run*, these configurations are applied at runtime. Values present in the Notebook
### Configuration take precedence over values here. The Notebook Configuration is *not* modified.
###
### **Note** that this means they can affect reproducibility of your notebooks when you share them with others!
###
###################################################################################################################
###################################################################################################################
# Spark config params can be set by uncommenting and editing the following lines.
# To add additional spark configuration properties, add them as keys under `properties`.
# To set additional arguments to `spark-submit`, you can use the `spark_submit_args` property.
#
# By default, not all jars in SPARK_DIST_CLASSPATH are available to the Polynote compiler (i.e., to user-code
# inside cells). To use these jars (for example, if you want to use Hadoop APIs in your notebook without adding
# a Hadoop dependency), set the `dist_classpath_filter` to a valid regular expression that selects which JARs
# you want to use (there can be a huge number of JARs in SPARK_DIST_CLASSPATH, so it would be burdensome to
# include all of them by default.)
#
#################################################################################
#spark:
# properties:
# spark.driver.memory: 28g
# spark.executor.memory: 60g
# spark.driver.userClasspathFirst: true
# spark.executor.userClasspathFirst: true
# spark_submit_args: "--some --arguments"
# dist_classpath_filter: hadoop.*\.jar
########## Front-end Configuration ################################################################################
###
### These configurations affect the behavior of the front-end. You can modify the behavior by uncommenting the
### following lines and editing the properties.
###
###################################################################################################################
#ui:
# # The URI relative to the server host where Polynote is mounted. You can edit this if mounting Polynote at a
# # different location behind a reverse proxy. This value is placed in the <base> tag.
# base_uri: /
############################################################################################
# Credentials. This list contains the list of credentials used to access the repositories
############################################################################################
#credentials:
# coursier:
# path: ~/.config/coursier/credentials.properties
#############################################################################################################
###
### Notifications. This gives a small pop-up in the UI whenever a new release is available.
###
#############################################################################################################
#notifications: release_notifications
#############################################################################################################
# Environment variables. This map gets merged with the notebook config's environment variable map at runtime.
#############################################################################################################
#env:
# foo: bar
JavaScript
1
https://gitee.com/mirrors/polynote.git
git@gitee.com:mirrors/polynote.git
mirrors
polynote
polynote
master

搜索帮助

14c37bed 8189591 565d56ea 8189591