-
Notifications
You must be signed in to change notification settings - Fork 0
Running with Docker
#Running with Docker
The DockerScripts
folder of this project contains a Dockerfile
and other scripts necessary for creating a Docker container for running the server. This is useful for creating a development environment for creating plugins without cluttering your own system. To build the container, open the DockerScripts
folder in your terminal and run:
$ docker build -t smartreflect .
Once the container is built, you can run the container using the start-container.sh
script in the same folder:
$ start-container.sh -d ../PluginDaemon/web/Plugins -p 5000
Where the -d argument is the folder to mount for persistent plugin use, and -p specifies the port to use.
##OSX Hosts On OSX docker hosts (via docker-machine), you may need to modify the network setup on the virtual machine with another network adapter to run as bridge mode. This will let external devices (i.e. your smart phone) connect to the web interface.