Skip to content

Commit

Permalink
Merge pull request #76 from GoogleCloudDataproc/sqldb
Browse files Browse the repository at this point in the history
Update DB location from relative to absolute path
  • Loading branch information
ojarjur authored May 26, 2022
2 parents 6636e9f + 92c7b28 commit 3ea4f32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker/jupyterhub.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ function append-config-ain {
cat <<EOT >> jupyterhub_config.py
## Start of configuration for JupyterHub on AI Notebooks ##
c.Spawner.spawner_host_type = 'ain'
c.JupyterHub.db_url = 'sqlite:///home/jupyter/.jupyterhub/jupyterhub.sqlite'
c.JupyterHub.db_url = 'sqlite:////home/jupyter/.jupyterhub/jupyterhub.sqlite'
# Option on Dataproc Notebook server to allow authentication.
c.Spawner.args = ['--NotebookApp.disable_check_xsrf=True']
Expand Down

0 comments on commit 3ea4f32

Please sign in to comment.