Start and Stop the Application

The python script that deploys the Discover application can also be used to start and stop the system, or parts of the system. You might need to stop and restart components after making changes to a configuration file.

The command-line arguments passed to the script determine which components will be running when the script finishes.

Start Discover

First, ensure that Docker is running. For example, on Linux you might run the following command to check the status of the Docker service.

systemctl status docker

To start all of the components, run the deployment script:

python3 deploy.py auth entity filestore analysis audit dataset-locations api ui

This is the same command that you used to deploy the application, but without the --init option.

Stop Discover

To stop all of the components in the system, run the deployment script with no additional arguments:

python3 deploy.py