-
Notifications
You must be signed in to change notification settings - Fork 0
Running All Services on a Single Machine
Navigate to the main directory of this repository.
Enter the config.ini file. Perform configurations according the comments inside the config.ini file. You do not need to edit the IP address.
If you have changed the port configuration in the config.ini file, you will need to additionally configure the ports that Docker Compose exposes. To do this, enter the docker-compose.yml file. Set the port configuration under ffbo.processor
as follows:
ports:
- target: {NLP/port from config.ini}
published: {NLP/expose-port from config.ini}
protocol: tcp
mode: host
- target: {GFX/port from config.ini}
published: {GFX/expose-port from config.ini}
protocol: tcp
mode: host
Now, you're ready to run the components using Docker Compose.
Once you have configured the setup, you can launch all services (components) using
docker-compose up
For Linux users, sudo
is required to use docker. If you do not want to use sudo
when you use the docker command, create a Unix group called docker and add users to it, see instructions.
If you would like to launch specific services (components), enter
docker-compose up [SERVICES...]
NOTE There must be a running instance of ffbo.processor for all other components to function. If you are running on a single computer, make sure ffbo.processor is running.
See Basic Usage for more docker-compose commands.
Once all services created, wait for 1 minute. Then, you can start using
- NeuroNLP at: http://localhost:8081
- NeuroGFX at: http://localhost:8082
If you are not running services on your localhost, replace localhost with the IP of the machine that you are running the (ffbo.processor) service. The IP can be obtained by ifconfig
, or using hostname -I
on Linux or hostname
on Mac (if there is more than one space-delimited output, use the first one).