## Example Docker Compose configuration
+Click the heading below to expand the docker-compose.yml file example.
+
+[[info]]
+| The example below will use the latest version of the SonarQube Docker image. If want to use the LTS version of SonarQube, you need to update the example with the `sonarqube:lts-datacenter-app` and `sonarqube:lts-datacenter-search` image tags.
+
[[collapse]]
| ## docker-compose.yml file example
|
####**Example Docker Compose configuration**
If you're using [Docker Compose](https://docs.docker.com/compose/), use the following example as a reference when configuring your `.yml` file. Click the heading below to expand the `.yml` file.
+[[info]]
+| The example below will use the latest version of the SonarQube Docker image. If want to use the LTS version of SonarQube, you need to update the example with the `sonarqube:lts-community` image tag.
+
[[collapse]]
| ## Docker Compose .yml file example
|