mmmries / roombots

A public site that documents how to interact with roombots and keeps tabs on the roombots
https://roombots.mx.com/
2 stars 5 forks source link

Roombots

A website that documents how to interact with roombots and also keeps tabs on the current whereabouts of my roombots.

Deploying

This project is deployed with docker. You can see the Dockerfile for details or you can run your own using the public docker image.

To build a new docker image follow these steps:

The image exposes port 80 (and optionally port 443) so when you run the docker container make sure you map that to something public.

When you run the docker image you will need to set the following environment variables:

Personally I do this with a docker command like:

sudo docker run -d \
  -p 80:80 \
  -p 443:443 \
  -e "SSL_KEY_FILE=/etc/ssl/private/roombots.mx.com.key" \
  -e "SSL_CERT_FILE=/etc/ssl/certs/roombots.mx.com.pem" \
  -e "URL_HOST=roombots.mx.com" \
  -e "URL_PORT=80" \
  -v /etc/ssl:/etc/ssl \
  --name roombots hqmq/roombots:0.2.3