generator.server.sonar.sonar.yml.mustache Maven / Gradle / Ivy
# This configuration is intended for development purpose, it's **your** responsibility to harden it for production
services:
sonar:
image: {{sonarqubeDockerImage}}
container_name: sonar
platform: linux/x86_64
# Authentication is turned off for out of the box experience while trying out SonarQube
# For real use cases delete sonar.forceAuthentication variable or set sonar.forceAuthentication=true
environment:
- SONAR_FORCEAUTHENTICATION=false
# If you want to expose these ports outside your dev PC,
# remove the "127.0.0.1:" prefix
ports:
- '127.0.0.1:9001:9000'