# Get example notebook
wget -P ./notebooks https://raw.githubusercontent.com/pingcap/tidb-vector-python/main/examples/openai_embedding/example.ipynb

# In notebook, os.getenv('MY_VARIABLE') will return 123, we can set tidb's credentials in this way

# Disable password and token for easy access
docker run -d \
    -p 8888:8888 \
    -e MY_VARIABLE=123 \
    -v $(pwd)/notebooks:/home/jovyan/work \
    quay.io/jupyter/base-notebook:2024-12-23 \
    start-notebook.sh --NotebookApp.token='' --NotebookApp.password=''
