Files
mainsail/docs/development/docker.md
T

1010 B


{{ page.title }}

{{ page.description }}

Setup

Install docker and docker-compose on your desired machine.

####Debian/Ubuntu

sudo apt install docker docker-compose

####Mac https://docs.docker.com/docker-for-mac/install/ ####Windows https://docs.docker.com/docker-for-windows/install/

Start

  1. Look into the docker/config folder. Copy the ".example" without the "example ending".
  2. Edit the configs to your likings. They are inital setup for a minimal setup environment with simulavr.
  3. In the root directory of mainsail run
docker/run up

Development

####Commands

docker/run ps #showing running containers
docker/run restart <api/npm> #restarting container
docker/run bash <api/npm> #spawning bash shell inside container