Maintain Deployment

Last updated 09/14/2021

Periodically, you will need to update configure and data files or install product updates for your on-premise deployment.

Update Configuration and Data Files

If you modify configuration files or update data files/artifacts (for example, apply a new model update), then you will need to restart Docker services to get changes to take effect.

To restart Docker services:

  1. Run docker login.

  2. If using Docker Swarm, make sure you are on a master node.

  3. Depending on your setup, run the following commands:

    $ docker-compose -f /path/to/compose.yml -p deepgram up -d --force-recreate
    
    $ docker service update --force deepgram_engine
    $ docker service update --force deepgram_api
    

Install Product Updates

Deepgram makes new product updates to the Docker images available periodically. Some updates are recommended, while others are mandatory and, if not installed, will result in Deepgram products ceasing to function.

To install product updates:

  1. Ensure that you are logged into Docker Hub.

  2. If using Docker Swarm, make sure you are on a master node.

  3. Depending on your setup, run the following commands:

    $ docker-compose -f /path/to/compose.yml pull
    $ docker-compose -f /path/to/compose.yml -p deepgram up -d
    
    $ docker stack deploy -c /path/to/compose.yml --with-registry-auth deepgram
    
    $ docker pull deepgram/onprem-dgtools:latest
    

Manage Licenses

If you have ever been issued an on-premise license file for specialized, offline deployments, please contact your Deepgram sales representative for additional documentation about maintaining your license.