Skip to content

joshspicer/jarvis

Repository files navigation

jarvis (v2)

An ever-changing assortment of microservices and home automation services/experiments. Wrapped into a friendly chatbot (named Jarvis) and hosted in an Azure Kubernetes cluster.

Deploy

Jarvis is hosted on Azure Kubernetes service via the rollout spec in this repo. Deploy with kubectl apply -f rollout.yaml.

Developing 🚀

This repo is set up with a .devcontainer.json configuration for development in Codespaces.

Running the Start Server vscode task will build and run the go project under ./server.

The task requires either:

Build Docker Image

$ docker build -t jarvis ./server/ -f ./Dockerfile

$ docker run -p 4000:4000 --env-file example.env jarvis

[GIN-debug] GET    /health                   --> main.Health (3 handlers)
[GIN-debug] POST   /knock                    --> main.Knock (4 handlers)
2022/05/08 21:08:37 Bot authorized on account 'dev_bot'
Serving at http://localhost:4000

Related projects

jarvis-apple-watch