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:
<token>
should be replaced with your personal token from the gProfiler Performance Studio site (in the Install Service section)The
<service name>
should be replaced with whatever service name you wish to use
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