- Description for running the Energy Hub services
Create a digital ocean docker box using the docker-machine command: https://docs.docker.com/machine/drivers/digital-ocean/
Run docker-compose -f docker-compose.yml.production build
Run docker-compose -f docker-compose.yml.production up -d
If you look at the docker-compose file, you'll see it builds the nginx
and node
apps. nginx
has a configurable .crt
file,
which you should change. Same with default.conf
, based on your specifications.
The first time you run the docker-compose
command, it will spin up the nginx
and the ehub
box. The ehub
box will not work.