version: "2" services: sonarqube: image: sonarqube:lts restart: always ports: - "9000:9000" environment: - sonar.jdbc="sql_jdbc"