https://github.com/equalitie/baskervillehall
Bot mitigation
https://github.com/equalitie/baskervillehall
Last synced: 3 months ago
JSON representation
Bot mitigation
- Host: GitHub
- URL: https://github.com/equalitie/baskervillehall
- Owner: equalitie
- Created: 2023-07-14T15:28:25.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2025-02-03T09:21:19.000Z (4 months ago)
- Last Synced: 2025-02-03T10:27:11.135Z (4 months ago)
- Language: Python
- Size: 334 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Baskervillehall
Bot mitigation## Configuration
```commandline
kubectl apply -f config_baskervillehall.yaml
```### Building
```
docker build . -t equalitie/baskervillehall:base
``````
docker build -f ./Dockerfile_latest . -t equalitie/baskervillehall:latest
docker push equalitie/baskervillehall:latest
```### Sessions deployment
kubectl apply -f session_deployment.yaml## Jupyterhub
### Build image
```commandline
docker build -f ./Dockerfile_jupyter . -t equalitie/baskervillehall:jupyter
docker push equalitie/baskervillehall:jupyter
```### Installation
```commandline
kubectl apply -f jupyter/admin-pvc.yaml
helm repo add jupyter https://hub.jupyter.org/helm-chart/
helm repo update
``````commandline
helm upgrade --cleanup-on-fail \
--install jupyter jupyter/jupyterhub \
--namespace default \
--version=3.2.1 \
--values ./jupyter/config.yaml
```### Jupyterhub modification
```commandline
helm upgrade --cleanup-on-fail \
jupyter jupyter/jupyterhub \
--namespace default \
--version=3.2.1 \
--values ./jupyter/config.yaml
```### Jupyterhub forwarding
```commandline
kubectl port-forward service/proxy-public 8080:http
```
Please, use user `admin` with an empth password.### Postgres deployment
kubectl apply -f deployment/postgres/postgres-baskervillehall-secret.yaml
kubectl apply -f deployment/postgres/postgres-baskervillehall-pv.yaml
kubectl apply -f deployment/postgres/postgres-baskervillehall-pvc.yaml
kubectl apply -f deployment/postgres/postgres-baskervillehall.yaml
kubectl apply -f deployment/postgres/postgres-baskervillehall-service.yamlkubectl port-forward service/postgres-baskervillehall 5433:5432