<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Docker Compose on</title><link>https://docs.protegrity.com/data-discovery/1.0.0/docs/dd_deploy/dd_docker_compose/</link><description>Recent content in Docker Compose on</description><generator>Hugo</generator><language>en</language><lastBuildDate>Mon, 06 Apr 2026 12:09:12 +0000</lastBuildDate><atom:link href="https://docs.protegrity.com/data-discovery/1.0.0/docs/dd_deploy/dd_docker_compose/index.xml" rel="self" type="application/rss+xml"/><item><title>Prerequisites</title><link>https://docs.protegrity.com/data-discovery/1.0.0/docs/dd_deploy/dd_docker_compose/dd_docker_prerequisites/</link><pubDate>Tue, 20 Feb 2024 00:00:00 +0000</pubDate><guid>https://docs.protegrity.com/data-discovery/1.0.0/docs/dd_deploy/dd_docker_compose/dd_docker_prerequisites/</guid><description>&lt;p>Ensure that the following points are completed before deploying the application.&lt;/p>
&lt;ul>
&lt;li>
&lt;p>The &lt;a href="https://docs.protegrity.com/data-discovery/1.0.0/docs/dd_obtaining_package/">development package&lt;/a> provided by Protegrity is obtained from the portal and extracted.&lt;/p>
&lt;/li>
&lt;li>
&lt;p>The &lt;a href="https://docs.docker.com/reference/cli/docker/">Docker CLI&lt;/a> is installed to manage Docker containers.&lt;/p>
&lt;/li>
&lt;li>
&lt;p>The &lt;a href="https://docs.docker.com/reference/cli/docker/">Docker Compose&lt;/a> is installed for local containerized deployments. This application supports Docker Compose V2. Ensure that your installation supports this version.&lt;/p>
&lt;/li>
&lt;li>
&lt;p>The images for Classification service, Presidio service, and Roberta services provided in the &lt;em>images&lt;/em> folder are &lt;a href="https://docs.protegrity.com/data-discovery/1.0.0/docs/dd_uploading_images/">uploaded&lt;/a> to the required image repository and available for deployment.&lt;/p></description></item><item><title>Configuring Environment Variables</title><link>https://docs.protegrity.com/data-discovery/1.0.0/docs/dd_deploy/dd_docker_compose/dd_docker_conf_env_vbles/</link><pubDate>Tue, 20 Feb 2024 00:00:00 +0000</pubDate><guid>https://docs.protegrity.com/data-discovery/1.0.0/docs/dd_deploy/dd_docker_compose/dd_docker_conf_env_vbles/</guid><description>&lt;p>Run the following steps to configure the environment variables.&lt;/p>
&lt;ol>
&lt;li>
&lt;p>Navigate to the &lt;code>docker_compose&lt;/code> directory.&lt;/p>
&lt;/li>
&lt;li>
&lt;p>Open the &lt;code>.env&lt;/code> file and set the following variables:&lt;/p>
&lt;/li>
&lt;/ol>
&lt;table>
 &lt;thead>
 &lt;tr>
 &lt;th>Variable&lt;/th>
 &lt;th>Description&lt;/th>
 &lt;th>Mandatory&lt;/th>
 &lt;/tr>
 &lt;/thead>
 &lt;tbody>
 &lt;tr>
 &lt;td>CLASSIFICATION_DOCKER_IMAGE&lt;/td>
 &lt;td>Repository path where the docker image of Classification service is stored.&lt;/td>
 &lt;td>Yes&lt;/td>
 &lt;/tr>
 &lt;tr>
 &lt;td>PRESIDIO_DOCKER_IMAGE&lt;/td>
 &lt;td>Repository path where the docker image of Presidio service is stored.&lt;/td>
 &lt;td>Yes&lt;/td>
 &lt;/tr>
 &lt;tr>
 &lt;td>ROBERTA_DOCKER_IMAGE&lt;/td>
 &lt;td>Repository path where the docker image of Roberta service is stored.&lt;/td>
 &lt;td>Yes&lt;/td>
 &lt;/tr>
 &lt;tr>
 &lt;td>DOCKER_NETWORK_NAME&lt;/td>
 &lt;td>Name of the Docker network.&lt;/td>
 &lt;td>No&lt;/td>
 &lt;/tr>
 &lt;tr>
 &lt;td>PRESIDIO_LOGGING_CONFIG&lt;/td>
 &lt;td>Logging level for Presidio.&lt;/td>
 &lt;td>No&lt;/td>
 &lt;/tr>
 &lt;tr>
 &lt;td>ROBERTA_LOGGING_CONFIG&lt;/td>
 &lt;td>Logging level for Roberta.&lt;/td>
 &lt;td>No&lt;/td>
 &lt;/tr>
 &lt;tr>
 &lt;td>CLASSIFICATION_LOGGING_CONFIG&lt;/td>
 &lt;td>Logging level for the classification service.&lt;/td>
 &lt;td>No&lt;/td>
 &lt;/tr>
 &lt;/tbody>
&lt;/table>
&lt;ol start="3">
&lt;li>Save the changes.&lt;/li>
&lt;/ol></description></item><item><title>Deploying the Application</title><link>https://docs.protegrity.com/data-discovery/1.0.0/docs/dd_deploy/dd_docker_compose/dd_docker_deploy_app/</link><pubDate>Tue, 20 Feb 2024 00:00:00 +0000</pubDate><guid>https://docs.protegrity.com/data-discovery/1.0.0/docs/dd_deploy/dd_docker_compose/dd_docker_deploy_app/</guid><description>&lt;p>Run the following steps to deploy the Data Discovery application on Docker.&lt;/p>
&lt;ol>
&lt;li>Navigate to the &lt;code>docker_compose&lt;/code> directory.&lt;/li>
&lt;/ol>
&lt;div class="highlight">&lt;pre tabindex="0" style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-fallback" data-lang="fallback">&lt;span style="display:flex;">&lt;span>cd /docker_compose
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ol start="2">
&lt;li>Run the &lt;code>compose_up&lt;/code> script.&lt;/li>
&lt;/ol>
&lt;div class="highlight">&lt;pre tabindex="0" style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-fallback" data-lang="fallback">&lt;span style="display:flex;">&lt;span>./compose_up.sh 
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;br>
&lt;p>The network is set up based on the values provided in the &lt;em>docker-compose.yaml&lt;/em> file. The images are extracted from the repositories provided in the &lt;code>.env&lt;/code> file and the respective containers are started. &lt;br>
After the deployment is successful, the following message is displayed.&lt;br>
&lt;code>...[OK]&lt;/code>&lt;/p>
&lt;h2 id="verifying-the-deployment">Verifying the Deployment&lt;/h2>
&lt;p>After the deployment is complete, verify the deployment on Docker.&lt;/p></description></item><item><title>Viewing the Logs</title><link>https://docs.protegrity.com/data-discovery/1.0.0/docs/dd_deploy/dd_docker_compose/dd_docker_view_logs/</link><pubDate>Tue, 20 Feb 2024 00:00:00 +0000</pubDate><guid>https://docs.protegrity.com/data-discovery/1.0.0/docs/dd_deploy/dd_docker_compose/dd_docker_view_logs/</guid><description>&lt;h2 id="viewing-logs">Viewing Logs&lt;/h2>
&lt;p>The application logs can be viewed using the following commands:&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-fallback" data-lang="fallback">&lt;span style="display:flex;">&lt;span>docker logs -f classification_service
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>docker logs -f roberta_provider
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>docker logs -f presidio_provider
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;h3 id="setting-the-log-level">Setting the Log Level&lt;/h3>
&lt;p>The log level can be updated in the &lt;code>.env&lt;/code> file.&lt;/p>
&lt;p>To set the log level, run the following steps.&lt;/p>
&lt;ol>
&lt;li>
&lt;p>Navigate to the &lt;code>docker_compose&lt;/code> directory.&lt;/p>
&lt;/li>
&lt;li>
&lt;p>Edit the &lt;code>.env&lt;/code> file.&lt;/p>
&lt;/li>
&lt;li>
&lt;p>Uncomment the required logging configuration and set the logging level to one of the following:&lt;/p></description></item><item><title>Removing the Application</title><link>https://docs.protegrity.com/data-discovery/1.0.0/docs/dd_deploy/dd_docker_compose/dd_docker_undeploy/</link><pubDate>Tue, 20 Feb 2024 00:00:00 +0000</pubDate><guid>https://docs.protegrity.com/data-discovery/1.0.0/docs/dd_deploy/dd_docker_compose/dd_docker_undeploy/</guid><description>&lt;p>To remove the application from Docker, run the following steps.&lt;/p>
&lt;ol>
&lt;li>Navigate to the &lt;code>docker_compose&lt;/code> directory.&lt;/li>
&lt;/ol>
&lt;div class="highlight">&lt;pre tabindex="0" style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-fallback" data-lang="fallback">&lt;span style="display:flex;">&lt;span>cd /docker_compose
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ol start="2">
&lt;li>Run the &lt;code>compose_down&lt;/code> script.&lt;/li>
&lt;/ol>
&lt;div class="highlight">&lt;pre tabindex="0" style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-fallback" data-lang="fallback">&lt;span style="display:flex;">&lt;span>./compose_down.sh 
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;blockquote>
&lt;p>Note: To remove the application completely, ensure that the images uploaded to the image repository are also deleted.&lt;/p>&lt;/blockquote></description></item><item><title/><link>https://docs.protegrity.com/data-discovery/1.0.0/docs/dd_deploy/dd_docker_compose/commands/command_down/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.protegrity.com/data-discovery/1.0.0/docs/dd_deploy/dd_docker_compose/commands/command_down/</guid><description>&lt;div class="highlight">&lt;pre tabindex="0" style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-bash" data-lang="bash">&lt;span style="display:flex;">&lt;span> ./compose_up.sh
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div></description></item><item><title/><link>https://docs.protegrity.com/data-discovery/1.0.0/docs/dd_deploy/dd_docker_compose/commands/command_up/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.protegrity.com/data-discovery/1.0.0/docs/dd_deploy/dd_docker_compose/commands/command_up/</guid><description>&lt;div class="highlight">&lt;pre tabindex="0" style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-bash" data-lang="bash">&lt;span style="display:flex;">&lt;span> ./compose_up.sh
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div></description></item><item><title/><link>https://docs.protegrity.com/data-discovery/1.0.0/docs/dd_deploy/dd_docker_compose/commands/directory_down/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.protegrity.com/data-discovery/1.0.0/docs/dd_deploy/dd_docker_compose/commands/directory_down/</guid><description>&lt;ol>
&lt;li>
&lt;p>Navigate to the &lt;code>/deployment/docker_compose&lt;/code> directory.&lt;/p>
&lt;/li>
&lt;li>
&lt;p>Run the &lt;code>compose_up.sh&lt;/code> file. &lt;br>&lt;/p>
&lt;/li>
&lt;/ol></description></item><item><title/><link>https://docs.protegrity.com/data-discovery/1.0.0/docs/dd_deploy/dd_docker_compose/commands/directory_up/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.protegrity.com/data-discovery/1.0.0/docs/dd_deploy/dd_docker_compose/commands/directory_up/</guid><description>&lt;ol>
&lt;li>
&lt;p>Navigate to the &lt;code>/deployment/docker_compose&lt;/code> directory.&lt;/p>
&lt;/li>
&lt;li>
&lt;p>Run the &lt;code>compose_up.sh&lt;/code> file. &lt;br>&lt;/p>
&lt;/li>
&lt;/ol></description></item><item><title/><link>https://docs.protegrity.com/data-discovery/1.0.0/docs/dd_deploy/dd_docker_compose/dockerscript/in_docker/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.protegrity.com/data-discovery/1.0.0/docs/dd_deploy/dd_docker_compose/dockerscript/in_docker/</guid><description>&lt;p>Verifying the deployment from a host machine.&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-bash" data-lang="bash">&lt;span style="display:flex;">&lt;span>curl -XPOST http://localhost:8580/pty/data-discovery/v1.0/classify --data &lt;span style="color:#4e9a06">&amp;#39;You can reach Dave Elliot by phone 203-555-1286&amp;#39;&lt;/span> -H &lt;span style="color:#4e9a06">&amp;#34;Content-Type: text/plain&amp;#34;&lt;/span>
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div></description></item><item><title/><link>https://docs.protegrity.com/data-discovery/1.0.0/docs/dd_deploy/dd_docker_compose/dockerscript/out_docker/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.protegrity.com/data-discovery/1.0.0/docs/dd_deploy/dd_docker_compose/dockerscript/out_docker/</guid><description>&lt;p>Verifying the deployment from the Docker network. For example, verifying the deployment from another container.&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-bash" data-lang="bash">&lt;span style="display:flex;">&lt;span>curl -XPOST classification_service/pty/data-discovery/v1.0/classify --data &lt;span style="color:#4e9a06">&amp;#39;You can reach Dave Elliot by phone 203-555-1286&amp;#39;&lt;/span> -H &lt;span style="color:#4e9a06">&amp;#34;Content-Type: text/plain&amp;#34;&lt;/span> 
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div></description></item></channel></rss>