Upgrade indexer services

Upgrading indexer services in Docker Compose can be done by following a few simple steps:

1. Update image version inside docker-compose

To upgrade an indexer service, you will need to update the version of the image used in the docker-compose file. This can be done by updating the image field in the service definition to the new version you want to use.

2. Restart specific container

Once the image version has been updated in the docker-compose file, you can restart the specific container that needs to be upgraded. This can be done by running the following command in the terminal:

docker-compose up -d --no-deps container-service-name

The up command starts the container in the background, while the --no-deps flag prevents Docker Compose from starting any linked services. Finally, the container-service-name argument specifies the name of the container that needs to be restarted.

By following these simple steps, you can upgrade your indexer services in Docker Compose and ensure that they are running the latest version of the image.

2 Likes