This repository container the definitions for the installation of the NuvlaBox Engine.
For further details, go to the online documentation.
In this repository you will find three different compose files:
-
docker-compose.yml: this is meant for a production NuvlaBox Engine installation, where
nuvla.io
is the default Nuvla endpoint -
docker-compose.localhost.yml: this is meant for testing purposes, where Nuvla is running on the same machine that will install the NuvlaBox Engine
To install the NuvlaBox Engine, you'll need:
- Docker (version 18 or higher)
- Docker Compose (version 1.23.2 or higher)
The NuvlaBox Engine will, during bootstrap, double check for other requirements (like Docker Swarm), but you'll be automatically prompted in case some of these are not met.
artifact: docker-compose.yml
In this scenario, we assume you are using Nuvla at https://nuvla.io.
- login into https://nuvla.io or your Nuvla installation
- create a
nuvlabox
resource and save the UUID - simply
export NUVLABOX_UUID=
UUID you saved, or paste that UUID in thedocker-compose.yml
file, under the NUVLABOX_UUID environment variable - If you are using your own Nuvla installation also
export NUVLA_ENDPOINT=
IP of the local Nuvla instance, or paste that IP in thedocker-compose.yml
file, under the NUVLA_ENDPOINT environment variable - install the NuvlaBox Engine
NOTE: add
$ docker-compose -p nuvlabox -f docker-compose.yml up
-f docker-compose.usb.yml -f ...
, to the command above, in order to add the auto peripheral discovery components
Copyright © 2019, SixSq Sàrl