Docker Compose

You can run a gProfiler container with docker-compose by using the template file in docker-compose.yml. Start by replacing the <token> and <service name> with values in the command section:

Optionally, you can add more command line arguments to the command section. For example, if you wish to use the py-spy profiler, you could replace the command with -cu --token "<token>" --service-name "<service name>" --python-mode pyspy.

To run it, run the following command: docker-compose -f /path/to/docker-compose.yml up -d

Last updated