isdashboard/src/main/docker/sonar.yml

16 lines
662 B
YAML
Executable File

# This configuration is intended for development purpose, it's **your** responsibility to harden it for production
name: isdashboard
services:
sonar:
container_name: sonarqube
image: sonarqube:10.1.0-community
# Forced authentication redirect for UI 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
- 127.0.0.1:9000:9000