Skip to content

PiAndArduinoGuy/control-hub-frontend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About

This repository contains the code needed to with a number of IoT devices.

System Requirements

Pre-Requisites

A docker swarm manager node needs to exist before proceeding. You will also need to know the token to join the swarm as a worker. If you do not yet have a host designated as a manager, the steps below need to be followed to create one:

  1. On the host designated as the manager, assign a static I.P. address to the host
  2. execute the command docker swarm init --advertise-addrr <static-ip-address-from-step-1>
  3. You will be presented with the token to be used to join the swarm as workers - note this command to be run later.

Usage

  1. On the host that will run the services defined in the docker-compose file, join the docker swarm using the command noted in step 3 of the pre-requisite section
  2. Assign a static I.P. address to this host
  3. Clone this repository onto your host
  4. Navigate to the directory containing the docker-compose file
  5. Replace the <static-ip-address-here> placeholder of the SECURITY_MICRO_SERVICE_BASE_URL environment variable with the value of the static I.P. address assigned in step 2
  6. Update any other environment variables as you please (but the defaults should suffice if you are following along with the Security with Machine Learning Spice Makes Everything Nice project)
  7. Execute docker-compose up -d in the same directory as the docker-compose.yml file

Help

If you are stuck and need a hand, please reach out to me via email [email protected]

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •