Compare commits
3 Commits
Author | SHA1 | Date | |
---|---|---|---|
7483095d5f
|
|||
e2e497270d
|
|||
492bd7292d
|
@ -13,6 +13,7 @@ USER $NB_USER
|
|||||||
RUN \
|
RUN \
|
||||||
conda update -y -n base conda && \
|
conda update -y -n base conda && \
|
||||||
pip install psycopg && \
|
pip install psycopg && \
|
||||||
|
pip install plotly && \
|
||||||
conda install -y pandas-datareader && \
|
conda install -y pandas-datareader && \
|
||||||
fix-permissions $CONDA_DIR && \
|
fix-permissions $CONDA_DIR && \
|
||||||
fix-permissions /home/$NB_USER
|
fix-permissions /home/$NB_USER
|
||||||
|
@ -19,6 +19,8 @@ metadata:
|
|||||||
name: traefik-forward-auth
|
name: traefik-forward-auth
|
||||||
labels:
|
labels:
|
||||||
app: traefik-forward-auth
|
app: traefik-forward-auth
|
||||||
|
annotations:
|
||||||
|
secret.reloader.stakater.com/reload: traefik-forward-auth
|
||||||
spec:
|
spec:
|
||||||
replicas: 1
|
replicas: 1
|
||||||
selector:
|
selector:
|
||||||
@ -144,6 +146,18 @@ spec:
|
|||||||
- X-Forwarded-User
|
- X-Forwarded-User
|
||||||
|
|
||||||
---
|
---
|
||||||
|
apiVersion: v1
|
||||||
|
kind: PersistentVolumeClaim
|
||||||
|
metadata:
|
||||||
|
name: jupyter-workspace
|
||||||
|
spec:
|
||||||
|
accessModes:
|
||||||
|
- ReadWriteOnce
|
||||||
|
storageClassName: nfs-client
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
storage: 100Mi
|
||||||
|
---
|
||||||
apiVersion: apps/v1
|
apiVersion: apps/v1
|
||||||
kind: Deployment
|
kind: Deployment
|
||||||
metadata:
|
metadata:
|
||||||
@ -169,6 +183,14 @@ spec:
|
|||||||
env:
|
env:
|
||||||
- name: JUPYTER_PORT
|
- name: JUPYTER_PORT
|
||||||
value: "8888"
|
value: "8888"
|
||||||
|
volumeMounts:
|
||||||
|
- mountPath: /home/jovyan/work
|
||||||
|
name: work
|
||||||
|
volumes:
|
||||||
|
- name: work
|
||||||
|
persistentVolumeClaim:
|
||||||
|
claimName: jupyter-workspace
|
||||||
|
|
||||||
---
|
---
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: Service
|
kind: Service
|
||||||
|
Reference in New Issue
Block a user