Giter Site home page Giter Site logo

lwt-kubernetes's Introduction

Learning With Texts for Kubernetes

This repo contains a Dockerfile and a Helm chart for deploying the Learning With Texts language learning app.

Deploying Learning With Texts on Minikube

First, download the dependencies.

helm dep update lwt-chart/

Next, install the chart replacing values where appropriate.

helm install lwt-chart/ \
    --set mysql.mysqlDatabase=[my-database-name] \
    --set mysql.mysqlUser=[my-database-username] \
    --set mysql.mysqlPassword=[my-database-password] \
    --set service.type=NodePort \
    --name lwt

Deploying Learning With Texts

First, download the dependencies.

helm dep update lwt-chart/

Next, create a persistent volume however you see fit to bind with the persistent volume names lwt-mysql.

Finally, install the chart replacing values where appropriate.

helm install lwt-chart/ \
    --set mysql.mysqlDatabase=[my-database] \
    --set mysql.mysqlUser=[my-db-user] \
    --set mysql.mysqlPassword=[my-db-password] \
    --set ingress.enabled=true \
    --set ingress.basicAuth.enabled=true \
    --set ingress.basicAuth.auth=`htpasswd -n -b [my-username] [my-password]` \
    --set ingress.paths[0]=/ \
    --name lwt

Configuration

Parameter Description Default
image learning-with-texts image repository proubatsis/learning-with-texts
imageTag learning-with-texts image tag latest
mysql.mysqlDatabase Name of database to create
mysql.mysqlPassword Password to access database
mysql.mysqlUser Username to access database
ingress.enabled Enable ingress false
ingress.basicAuth.enabled Enable basic auth false
ingress.basicAuth.auth Basic auth htpasswd, generate value using htpasswd -n -b [username] [password]. admin:$apr1$Bsungw4w$d1B3tEUHG2J47rVjG9Yij0
ingress.paths[*] Path that ingress should route requests for
ingress.hosts[*] Host that ingress should listen for requests on ["chart-example.local"]
ingress.tls[*].secretName Secret name for TLS certificate
ingress.tls[].hosts[] Hosts that should have TLS enabled
ingress.clusterIssuer If TLS is enabled then this is used to automatically issue certificates default-issuer

lwt-kubernetes's People

Contributors

proubatsis avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.