相关文章推荐
小百科
›
Environment variables
jdbc
sonar
ldap
耍酷的啄木鸟
2 月前
</noscript><div id="___gatsby"><div style="outline:none" tabindex="-1" id="gatsby-focus-wrapper"><style data-emotion="css-global q103fa">*,::before,::after{box-sizing:border-box;border-width:0;border-style:solid;border-color:currentColor;--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x:var(--tw-empty,/*!*/ /*!*/);--tw-pan-y:var(--tw-empty,/*!*/ /*!*/);--tw-pinch-zoom:var(--tw-empty,/*!*/ /*!*/);--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position:var(--tw-empty,/*!*/ /*!*/);--tw-gradient-via-position:var(--tw-empty,/*!*/ /*!*/);--tw-gradient-to-position:var(--tw-empty,/*!*/ /*!*/);--tw-ordinal:var(--tw-empty,/*!*/ /*!*/);--tw-slashed-zero:var(--tw-empty,/*!*/ /*!*/);--tw-numeric-figure:var(--tw-empty,/*!*/ /*!*/);--tw-numeric-spacing:var(--tw-empty,/*!*/ /*!*/);--tw-numeric-fraction:var(--tw-empty,/*!*/ /*!*/);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-ring-inset:var(--tw-empty,/*!*/ /*!*/);--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgb(59 130 246 / 0.5);--tw-blur:var(--tw-empty,/*!*/ /*!*/);--tw-brightness:var(--tw-empty,/*!*/ /*!*/);--tw-contrast:var(--tw-empty,/*!*/ /*!*/);--tw-grayscale:var(--tw-empty,/*!*/ /*!*/);--tw-hue-rotate:var(--tw-empty,/*!*/ /*!*/);--tw-invert:var(--tw-empty,/*!*/ /*!*/);--tw-saturate:var(--tw-empty,/*!*/ /*!*/);--tw-sepia:var(--tw-empty,/*!*/ /*!*/);--tw-drop-shadow:var(--tw-empty,/*!*/ /*!*/);--tw-backdrop-blur:var(--tw-empty,/*!*/ /*!*/);--tw-backdrop-brightness:var(--tw-empty,/*!*/ /*!*/);--tw-backdrop-contrast:var(--tw-empty,/*!*/ /*!*/);--tw-backdrop-grayscale:var(--tw-empty,/*!*/ /*!*/);--tw-backdrop-hue-rotate:var(--tw-empty,/*!*/ /*!*/);--tw-backdrop-invert:var(--tw-empty,/*!*/ /*!*/);--tw-backdrop-opacity:var(--tw-empty,/*!*/ /*!*/);--tw-backdrop-saturate:var(--tw-empty,/*!*/ /*!*/);--tw-backdrop-sepia:var(--tw-empty,/*!*/ /*!*/);--tw-contain-size:var(--tw-empty,/*!*/ /*!*/);--tw-contain-layout:var(--tw-empty,/*!*/ /*!*/);--tw-contain-paint:var(--tw-empty,/*!*/ /*!*/);--tw-contain-style:var(--tw-empty,/*!*/ /*!*/);}::before,::after{--tw-content:'';}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;font-family:ui-sans-serif;font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent;}body{margin:0;line-height:inherit;}hr{height:0;color:inherit;border-top-width:1px;}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted;}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit;}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit;}b,strong{font-weight:bolder;}code,kbd,samp,pre{font-family:ui-monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em;}small{font-size:80%;}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline;}sub{bottom:-0.25em;}sup{top:-0.5em;}table{text-indent:0;border-color:inherit;border-collapse:collapse;}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0;}button,select{text-transform:none;}button,input:where([type='button']),input:where([type='reset']),input:where([type='submit']){-webkit-appearance:button;background-color:transparent;background-image:none;}:-moz-focusring{outline:auto;}:-moz-ui-invalid{box-shadow:none;}progress{vertical-align:baseline;}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto;}[type='search']{-webkit-appearance:textfield;outline-offset:-2px;}::-webkit-search-decoration{-webkit-appearance:none;}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}summary{display:-webkit-box;display:-webkit-list-item;display:-ms-list-itembox;display:list-item;}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0;}fieldset{margin:0;padding:0;}legend{padding:0;}ol,ul,menu{list-style:none;margin:0;padding:0;}dialog{padding:0;}textarea{resize:vertical;}input::-webkit-input-placeholder{opacity:1;color:#9ca3af;}input::-moz-placeholder{opacity:1;color:#9ca3af;}input:-ms-input-placeholder{opacity:1;color:#9ca3af;}textarea::-webkit-input-placeholder{opacity:1;color:#9ca3af;}textarea::-moz-placeholder{opacity:1;color:#9ca3af;}textarea:-ms-input-placeholder{opacity:1;color:#9ca3af;}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af;}button,[role="button"]{cursor:pointer;}:disabled{cursor:default;}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle;}img,video{max-width:100%;height:auto;}[hidden]{;}::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x:var(--tw-empty,/*!*/ /*!*/);--tw-pan-y:var(--tw-empty,/*!*/ /*!*/);--tw-pinch-zoom:var(--tw-empty,/*!*/ /*!*/);--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position:var(--tw-empty,/*!*/ /*!*/);--tw-gradient-via-position:var(--tw-empty,/*!*/ /*!*/);--tw-gradient-to-position:var(--tw-empty,/*!*/ /*!*/);--tw-ordinal:var(--tw-empty,/*!*/ /*!*/);--tw-slashed-zero:var(--tw-empty,/*!*/ /*!*/);--tw-numeric-figure:var(--tw-empty,/*!*/ /*!*/);--tw-numeric-spacing:var(--tw-empty,/*!*/ /*!*/);--tw-numeric-fraction:var(--tw-empty,/*!*/ /*!*/);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-ring-inset:var(--tw-empty,/*!*/ /*!*/);--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgb(59 130 246 / 0.5);--tw-blur:var(--tw-empty,/*!*/ /*!*/);--tw-brightness:var(--tw-empty,/*!*/ /*!*/);--tw-contrast:var(--tw-empty,/*!*/ /*!*/);--tw-grayscale:var(--tw-empty,/*!*/ /*!*/);--tw-hue-rotate:var(--tw-empty,/*!*/ /*!*/);--tw-invert:var(--tw-empty,/*!*/ /*!*/);--tw-saturate:var(--tw-empty,/*!*/ /*!*/);--tw-sepia:var(--tw-empty,/*!*/ /*!*/);--tw-drop-shadow:var(--tw-empty,/*!*/ /*!*/);--tw-backdrop-blur:var(--tw-empty,/*!*/ /*!*/);--tw-backdrop-brightness:var(--tw-empty,/*!*/ /*!*/);--tw-backdrop-contrast:var(--tw-empty,/*!*/ /*!*/);--tw-backdrop-grayscale:var(--tw-empty,/*!*/ /*!*/);--tw-backdrop-hue-rotate:var(--tw-empty,/*!*/ /*!*/);--tw-backdrop-invert:var(--tw-empty,/*!*/ /*!*/);--tw-backdrop-opacity:var(--tw-empty,/*!*/ /*!*/);--tw-backdrop-saturate:var(--tw-empty,/*!*/ /*!*/);--tw-backdrop-sepia:var(--tw-empty,/*!*/ /*!*/);--tw-contain-size:var(--tw-empty,/*!*/ /*!*/);--tw-contain-layout:var(--tw-empty,/*!*/ /*!*/);--tw-contain-paint:var(--tw-empty,/*!*/ /*!*/);--tw-contain-style:var(--tw-empty,/*!*/ /*!*/);}</style><style data-emotion="css-global 1f6fqew">@font-face{font-family:'Saira-Fallback';size-adjust:104.18%;src:local('Arial');}@font-face{font-family:'Maven-Pro-Fallback';size-adjust:103.25%;src:local('Arial');}@font-face{font-family:'Saira';font-style:normal;font-weight:400;src:url('/fonts/saira-variable.woff2') format('woff2 supports variations'),url('/fonts/saira-variable.woff2') format('woff2-variations');font-weight:100 900;text-rendering:optimizeLegibility;font-display:swap;}@font-face{font-family:'Maven Pro';font-style:normal;font-weight:400;src:url('/fonts/maven-pro-variable.woff2') format('woff2 supports variations'),url('/fonts/maven-pro-variable.woff2') format('woff2-variations');font-weight:400 900;text-rendering:optimizeLegibility;font-display:swap;}html{font-size:62.5%;}body{background-color:white;font-size:1.8rem;font-family:Maven Pro,Maven-Pro-Fallback;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-webkit-tap-highlight-color:transparent;}:root{--toastify-color-success:#290042;--toastify-toast-width:448px;--toastify-font-family:'Maven Pro',sans-serif;}.Toastify__toast{padding:15px;}.Toastify__toast-body{font-weight:500;padding-bottom:20px;}.Toastify__progress-bar{padding-left:20px;padding-right:20px;width:calc(100% - 40px);border-radius:0px;}.Toastify__close-button{opacity:1;}.Toastify__progress-bar--wrp{bottom:15px;left:15px;width:calc(100% - 30px);border-radius:0px;margin-y:20px;}.Toastify__progress-bar--bg{background-color:transparent!important;}.Toastify__progress-bar{margin-left:0px;margin-right:0px;opacity:1;}.Toastify__toast--success .Toastify__progress-bar--wrp{background:rgba(101, 209, 255, 0.6);}.Toastify__toast--success .Toastify__progress-bar--success{--tw-bg-opacity:1;background-color:rgb(101 209 255 / var(--tw-bg-opacity));}.Toastify__toast--success .Toastify__close-button{--tw-text-opacity:1;color:rgb(255 255 255 / var(--tw-text-opacity));}</style><div class="Toastify"/><style data-emotion="css 13ad1he">.css-13ad1he{overflow-x:scroll;}</style><main class="css-13ad1he e1xjpii32"><style data-emotion="css wisjbp">.css-wisjbp{position:fixed;width:362px;--tw-bg-opacity:1;background-color:rgb(244 247 251 / var(--tw-bg-opacity));}</style><div class="css-wisjbp e1xjpii31"><style data-emotion="css 1sctov7">.css-1sctov7{position:-webkit-sticky;position:sticky;top:3rem;height:100vh;overflow-x:hidden;overscroll-behavior-y:contain;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;padding-left:3.5rem;padding-right:3.5rem;padding-bottom:4rem;overflow-y:overlay;}</style><nav class="css-1sctov7 e1qxa2382"><style data-emotion="css 16040du">.css-16040du{position:relative;margin-bottom:1.5rem;margin-top:3rem;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;}</style><header class="css-16040du e1qxa2381"><style data-emotion="css 79elbk">.css-79elbk{position:relative;}</style><div class="css-79elbk eq67cw33"><style data-emotion="css 1psyp4d">.css-1psyp4d{height:4rem;font-weight:700;--tw-text-opacity:1;color:rgb(34 40 164 / var(--tw-text-opacity));display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;border-radius:0.375rem;}</style><button aria-label="Display Sonar products" class="css-1psyp4d eq67cw31"><style data-emotion="css je8g23">.css-je8g23{pointer-events:none;}</style><div data-gatsby-image-wrapper="" class="gatsby-image-wrapper gatsby-image-wrapper-constrained css-je8g23 emt11ji0"><div style="max-width:115px;display:block"><img alt="" role="presentation" aria-hidden="true" src="data:image/svg+xml;charset=utf-8,%3Csvg%20height='40'%20width='115'%20xmlns='http://www.w3.org/2000/svg'%20version='1.1'%3E%3C/svg%3E" style="max-width:100%;display:block;position:static"/></div><div aria-hidden="true" data-placeholder-image="" style="opacity:1;transition:opacity 500ms linear;object-fit:contain;object-position:left"/><img data-gatsby-image-ssr="" title="SonarQube Documentation" data-main-image="" style="object-fit:contain;object-position:left;opacity:0" sizes="(min-width: 115px) 115px, 100vw" decoding="async" loading="eager" src="https://assets-eu-01.kc-usercontent.com:443/5e986e54-339c-01a9-7c7c-26cbc5a344d5/905190c3-a37f-4a91-9f2e-3cc3a0798391/SonarQube_logo.svg?w=115&h=40&auto=format&fit=crop" srcset="https://assets-eu-01.kc-usercontent.com:443/5e986e54-339c-01a9-7c7c-26cbc5a344d5/905190c3-a37f-4a91-9f2e-3cc3a0798391/SonarQube_logo.svg?w=29&h=10&auto=format&fit=crop 29w,https://assets-eu-01.kc-usercontent.com:443/5e986e54-339c-01a9-7c7c-26cbc5a344d5/905190c3-a37f-4a91-9f2e-3cc3a0798391/SonarQube_logo.svg?w=58&h=20&auto=format&fit=crop 58w,https://assets-eu-01.kc-usercontent.com:443/5e986e54-339c-01a9-7c7c-26cbc5a344d5/905190c3-a37f-4a91-9f2e-3cc3a0798391/SonarQube_logo.svg?w=115&h=40&auto=format&fit=crop 115w" alt="sonarqube"/><noscript><img data-gatsby-image-ssr="" title="SonarQube Documentation" data-main-image="" style="object-fit:contain;object-position:left;opacity:0" sizes="(min-width: 115px) 115px, 100vw" decoding="async" loading="eager" src="https://assets-eu-01.kc-usercontent.com:443/5e986e54-339c-01a9-7c7c-26cbc5a344d5/905190c3-a37f-4a91-9f2e-3cc3a0798391/SonarQube_logo.svg?w=115&h=40&auto=format&fit=crop" srcset="https://assets-eu-01.kc-usercontent.com:443/5e986e54-339c-01a9-7c7c-26cbc5a344d5/905190c3-a37f-4a91-9f2e-3cc3a0798391/SonarQube_logo.svg?w=29&h=10&auto=format&fit=crop 29w,https://assets-eu-01.kc-usercontent.com:443/5e986e54-339c-01a9-7c7c-26cbc5a344d5/905190c3-a37f-4a91-9f2e-3cc3a0798391/SonarQube_logo.svg?w=58&h=20&auto=format&fit=crop 58w,https://assets-eu-01.kc-usercontent.com:443/5e986e54-339c-01a9-7c7c-26cbc5a344d5/905190c3-a37f-4a91-9f2e-3cc3a0798391/SonarQube_logo.svg?w=115&h=40&auto=format&fit=crop 115w" alt="sonarqube"/></noscript></div><style data-emotion="css 15ucs8t">.css-15ucs8t{height:2rem;width:2rem;--tw-rotate:90deg;-webkit-transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));-moz-transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));-ms-transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));fill:#2228A4;}</style><svg viewbox="0 0 24 24" class="css-15ucs8t e18wxygq0"><path fill="none" d="M0 0h24v24H0z"/><path d="m13.172 12-4.95-4.95 1.414-1.414L16 12l-6.364 6.364-1.414-1.414z"/></svg></button></div><style data-emotion="css qxj4c5">.css-qxj4c5{margin-left:0.5rem;margin-right:0.5rem;height:30px;width:2px;--tw-bg-opacity:1;background-color:rgb(211 220 233 / var(--tw-bg-opacity));}</style><div class="css-qxj4c5 e1qxa2380"/><style data-emotion="css kbieq5">.css-kbieq5{position:relative;-webkit-box-flex:1;-webkit-flex-grow:1;-ms-flex-positive:1;flex-grow:1;}</style><div class="css-kbieq5 e1vr8yqn5"><style data-emotion="css isra48">.css-isra48{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:0.125rem;white-space:nowrap;border-radius:0.375rem;padding-left:0.5rem;padding-right:0.5rem;padding-top:0.375rem;padding-bottom:0.375rem;font-size:1.6rem;font-weight:700;--tw-text-opacity:1;color:rgb(34 40 164 / var(--tw-text-opacity));}</style><button aria-label="Display versions" class="css-isra48 e1vr8yqn1">Docs <!-- -->10.6<svg viewbox="0 0 24 24" class="css-15ucs8t e18wxygq0"><path fill="none" d="M0 0h24v24H0z"/><path d="m13.172 12-4.95-4.95 1.414-1.414L16 12l-6.364 6.364-1.414-1.414z"/></svg></button></div></header><style data-emotion="css 8nxgwy">.css-8nxgwy{margin-left:-1rem;margin-right:-1rem;padding-bottom:2rem;padding-top:1rem;}</style><ul class="css-8nxgwy e1ivbxm50"><li><style data-emotion="css 4ejps8">.css-4ejps8{display:block;}</style><a class="css-4ejps8 ehkn9t61" href="/sonarqube/latest/"><style data-emotion="css ytdg63">.css-ytdg63{font-weight:400;width:100%;font-size:1.6rem;font-weight:500;padding-left:1rem;padding-right:1rem;padding-top:0.5rem;padding-bottom:0.5rem;display:block;text-align:left;}.css-ytdg63:hover{--tw-bg-opacity:1;background-color:rgb(255 255 255 / var(--tw-bg-opacity));--tw-text-opacity:1;color:rgb(41 0 66 / var(--tw-text-opacity));}.css-ytdg63:hover{--tw-bg-opacity:1;background-color:rgb(255 255 255 / var(--tw-bg-opacity));font-weight:500;--tw-text-opacity:1;color:rgb(41 0 66 / var(--tw-text-opacity));}</style><span title="SonarQube 10.6 Documentation" class="css-ytdg63 ehkn9t60">Homepage</span></a></li><li><a class="css-4ejps8 ehkn9t61" href="/sonarqube/latest/try-out-sonarqube/"><span title="Try out SonarQube" class="css-ytdg63 ehkn9t60">Try out SonarQube</span></a></li><style data-emotion="css 8atqhb">.css-8atqhb{width:100%;}</style><li class="css-8atqhb e16dmnqw2"><style data-emotion="css 1nsk6w3">.css-1nsk6w3{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;width:100%;gap:0.25rem;font-weight:500;text-align:left;--tw-text-opacity:1;color:rgb(34 40 164 / var(--tw-text-opacity));width:100%;font-size:1.6rem;font-weight:500;padding-left:1rem;padding-right:1rem;padding-top:0.5rem;padding-bottom:0.5rem;}.css-1nsk6w3:hover{--tw-bg-opacity:1;background-color:rgb(255 255 255 / var(--tw-bg-opacity));--tw-text-opacity:1;color:rgb(41 0 66 / var(--tw-text-opacity));}.css-1nsk6w3:hover{--tw-bg-opacity:1;background-color:rgb(255 255 255 / var(--tw-bg-opacity));--tw-text-opacity:1;color:rgb(41 0 66 / var(--tw-text-opacity));}</style><button tabindex="0" aria-expanded="true" aria-label="Server installation and setup" class="css-1nsk6w3 e16dmnqw1">Server installation and setup<style data-emotion="css cza35f">.css-cza35f{height:2rem;width:2rem;--tw-rotate:90deg;-webkit-transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));-moz-transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));-ms-transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));--tw-rotate:-90deg;-webkit-transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));-moz-transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));-ms-transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));fill:#5F656D;}</style><svg viewbox="0 0 24 24" class="css-cza35f e18wxygq0"><path fill="none" d="M0 0h24v24H0z"/><path d="m13.172 12-4.95-4.95 1.414-1.414L16 12l-6.364 6.364-1.414-1.414z"/></svg></button><style data-emotion="css 13spceu">.css-13spceu{padding-left:1rem;}</style><ul class="css-13spceu e16dmnqw0"><li><a class="css-4ejps8 ehkn9t61" href="/sonarqube/latest/setup-and-upgrade/overview/"><style data-emotion="css d417oh">.css-d417oh{font-weight:400;padding-top:0.5rem;padding-bottom:0.5rem;padding-left:1.25rem;font-size:1.4rem;display:block;text-align:left;}.css-d417oh:hover{--tw-bg-opacity:1;background-color:rgb(255 255 255 / var(--tw-bg-opacity));font-weight:500;--tw-text-opacity:1;color:rgb(41 0 66 / var(--tw-text-opacity));}</style><span title="Overview" class="css-d417oh ehkn9t60">Overview</span></a></li><li class="css-8atqhb e16dmnqw2"><style data-emotion="css 14wsxzz">.css-14wsxzz{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;width:100%;gap:0.25rem;font-weight:500;text-align:left;padding-top:0.5rem;padding-bottom:0.5rem;padding-left:1.25rem;padding-right:1rem;font-size:1.4rem;}.css-14wsxzz:hover{--tw-bg-opacity:1;background-color:rgb(255 255 255 / var(--tw-bg-opacity));--tw-text-opacity:1;color:rgb(41 0 66 / var(--tw-text-opacity));}</style><button tabindex="0" aria-expanded="false" aria-label="Installation requirements" class="css-14wsxzz e16dmnqw1">Installation requirements<style data-emotion="css 1e9usfn">.css-1e9usfn{height:2rem;width:2rem;--tw-rotate:90deg;-webkit-transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));-moz-transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));-ms-transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));fill:#5F656D;}</style><svg viewbox="0 0 24 24" class="css-1e9usfn e18wxygq0"><path fill="none" d="M0 0h24v24H0z"/><path d="m13.172 12-4.95-4.95 1.414-1.414L16 12l-6.364 6.364-1.414-1.414z"/></svg></button></li><li class="css-8atqhb e16dmnqw2"><button tabindex="0" aria-expanded="false" aria-label="Perform pre-installation steps" class="css-14wsxzz e16dmnqw1">Perform pre-installation steps<svg viewbox="0 0 24 24" class="css-1e9usfn e18wxygq0"><path fill="none" d="M0 0h24v24H0z"/><path d="m13.172 12-4.95-4.95 1.414-1.414L16 12l-6.364 6.364-1.414-1.414z"/></svg></button></li><li class="css-8atqhb e16dmnqw2"><button tabindex="0" aria-expanded="false" aria-label="Install the server" class="css-14wsxzz e16dmnqw1">Install the server<svg viewbox="0 0 24 24" class="css-1e9usfn e18wxygq0"><path fill="none" d="M0 0h24v24H0z"/><path d="m13.172 12-4.95-4.95 1.414-1.414L16 12l-6.364 6.364-1.414-1.414z"/></svg></button></li><li class="css-8atqhb e16dmnqw2"><style data-emotion="css bf8ly4">.css-bf8ly4{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;width:100%;gap:0.25rem;font-weight:500;text-align:left;--tw-text-opacity:1;color:rgb(34 40 164 / var(--tw-text-opacity));padding-top:0.5rem;padding-bottom:0.5rem;padding-left:1.25rem;padding-right:1rem;font-size:1.4rem;}.css-bf8ly4:hover{--tw-bg-opacity:1;background-color:rgb(255 255 255 / var(--tw-bg-opacity));--tw-text-opacity:1;color:rgb(41 0 66 / var(--tw-text-opacity));}</style><button tabindex="0" aria-expanded="true" aria-label="Configure and operate a server" class="css-bf8ly4 e16dmnqw1">Configure and operate a server<svg viewbox="0 0 24 24" class="css-cza35f e18wxygq0"><path fill="none" d="M0 0h24v24H0z"/><path d="m13.172 12-4.95-4.95 1.414-1.414L16 12l-6.364 6.364-1.414-1.414z"/></svg></button><ul class="css-13spceu e16dmnqw0"><li><a class="css-4ejps8 ehkn9t61" href="/sonarqube/latest/setup-and-upgrade/configure-and-operate-a-server/operating-the-server/"><span title="Operating the server" class="css-d417oh ehkn9t60">Operating the server</span></a></li><li><a aria-current="page" class="css-4ejps8 ehkn9t61" href="/sonarqube/latest/setup-and-upgrade/configure-and-operate-a-server/environment-variables/"><style data-emotion="css 1940dv9">.css-1940dv9{font-weight:500;--tw-text-opacity:1;color:rgb(34 40 164 / var(--tw-text-opacity));padding-top:0.5rem;padding-bottom:0.5rem;padding-left:1.25rem;font-size:1.4rem;display:block;text-align:left;}.css-1940dv9:hover{--tw-bg-opacity:1;background-color:rgb(255 255 255 / var(--tw-bg-opacity));font-weight:500;--tw-text-opacity:1;color:rgb(41 0 66 / var(--tw-text-opacity));}</style><span title="Environment variables" class="css-1940dv9 ehkn9t60">Environment variables</span></a></li></ul></li><li><a class="css-4ejps8 ehkn9t61" href="/sonarqube/latest/setup-and-upgrade/install-a-plugin/"><span title="Install a plugin" class="css-d417oh ehkn9t60">Install a plugin</span></a></li><li><a class="css-4ejps8 ehkn9t61" href="/sonarqube/latest/setup-and-upgrade/install-the-server-as-a-cluster/"><span title="Install the server as a cluster" class="css-d417oh ehkn9t60">Install the server as a cluster</span></a></li><li><a class="css-4ejps8 ehkn9t61" href="/sonarqube/latest/setup-and-upgrade/configure-and-operate-a-cluster/"><span title="Configure and operate a cluster" class="css-d417oh ehkn9t60">Configure and operate a cluster</span></a></li><li class="css-8atqhb e16dmnqw2"><button tabindex="0" aria-expanded="false" aria-label="Deploy on Kubernetes" class="css-14wsxzz e16dmnqw1">Deploy on Kubernetes<svg viewbox="0 0 24 24" class="css-1e9usfn e18wxygq0"><path fill="none" d="M0 0h24v24H0z"/><path d="m13.172 12-4.95-4.95 1.414-1.414L16 12l-6.364 6.364-1.414-1.414z"/></svg></button></li><li class="css-8atqhb e16dmnqw2"><button tabindex="0" aria-expanded="false" aria-label="Upgrade the server" class="css-14wsxzz e16dmnqw1">Upgrade the server<svg viewbox="0 0 24 24" class="css-1e9usfn e18wxygq0"><path fill="none" d="M0 0h24v24H0z"/><path d="m13.172 12-4.95-4.95 1.414-1.414L16 12l-6.364 6.364-1.414-1.414z"/></svg></button></li><li><a class="css-4ejps8 ehkn9t61" href="/sonarqube/latest/setup-and-upgrade/release-notes/"><span title="Release notes " class="css-d417oh ehkn9t60">Release notes</span></a></li><li><a class="css-4ejps8 ehkn9t61" href="/sonarqube/latest/setup-and-upgrade/release-upgrade-notes/"><span title="Release upgrade notes" class="css-d417oh ehkn9t60">Release upgrade notes</span></a></li><li><a class="css-4ejps8 ehkn9t61" href="/sonarqube/latest/setup-and-upgrade/deprecations-and-removals-by-version/"><span title="Deprecations and removals by version" class="css-d417oh ehkn9t60">Deprecations and removals by version</span></a></li><li><a class="css-4ejps8 ehkn9t61" href="/sonarqube/latest/setup-and-upgrade/troubleshooting/"><span title="Troubleshooting" class="css-d417oh ehkn9t60">Troubleshooting</span></a></li><li class="css-8atqhb e16dmnqw2"><button tabindex="0" aria-expanded="false" aria-label="Reference architectures" class="css-14wsxzz e16dmnqw1">Reference architectures<svg viewbox="0 0 24 24" class="css-1e9usfn e18wxygq0"><path fill="none" d="M0 0h24v24H0z"/><path d="m13.172 12-4.95-4.95 1.414-1.414L16 12l-6.364 6.364-1.414-1.414z"/></svg></button></li></ul></li><li class="css-8atqhb e16dmnqw2"><style data-emotion="css 12pshxq">.css-12pshxq{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;width:100%;gap:0.25rem;font-weight:500;text-align:left;width:100%;font-size:1.6rem;font-weight:500;padding-left:1rem;padding-right:1rem;padding-top:0.5rem;padding-bottom:0.5rem;}.css-12pshxq:hover{--tw-bg-opacity:1;background-color:rgb(255 255 255 / var(--tw-bg-opacity));--tw-text-opacity:1;color:rgb(41 0 66 / var(--tw-text-opacity));}.css-12pshxq:hover{--tw-bg-opacity:1;background-color:rgb(255 255 255 / var(--tw-bg-opacity));--tw-text-opacity:1;color:rgb(41 0 66 / var(--tw-text-opacity));}</style><button tabindex="0" aria-expanded="false" aria-label="Analyzing source code" class="css-12pshxq e16dmnqw1">Analyzing source code<svg viewbox="0 0 24 24" class="css-1e9usfn e18wxygq0"><path fill="none" d="M0 0h24v24H0z"/><path d="m13.172 12-4.95-4.95 1.414-1.414L16 12l-6.364 6.364-1.414-1.414z"/></svg></button></li><li class="css-8atqhb e16dmnqw2"><button tabindex="0" aria-expanded="false" aria-label="DevOps platform integration" class="css-12pshxq e16dmnqw1">DevOps platform integration<svg viewbox="0 0 24 24" class="css-1e9usfn e18wxygq0"><path fill="none" d="M0 0h24v24H0z"/><path d="m13.172 12-4.95-4.95 1.414-1.414L16 12l-6.364 6.364-1.414-1.414z"/></svg></button></li><li class="css-8atqhb e16dmnqw2"><button tabindex="0" aria-expanded="false" aria-label="User guide" class="css-12pshxq e16dmnqw1">User guide<svg viewbox="0 0 24 24" class="css-1e9usfn e18wxygq0"><path fill="none" d="M0 0h24v24H0z"/><path d="m13.172 12-4.95-4.95 1.414-1.414L16 12l-6.364 6.364-1.414-1.414z"/></svg></button></li><li class="css-8atqhb e16dmnqw2"><button tabindex="0" aria-expanded="false" aria-label="Project administration" class="css-12pshxq e16dmnqw1">Project administration<svg viewbox="0 0 24 24" class="css-1e9usfn e18wxygq0"><path fill="none" d="M0 0h24v24H0z"/><path d="m13.172 12-4.95-4.95 1.414-1.414L16 12l-6.364 6.364-1.414-1.414z"/></svg></button></li><li class="css-8atqhb e16dmnqw2"><button tabindex="0" aria-expanded="false" aria-label="Instance administration" class="css-12pshxq e16dmnqw1">Instance administration<svg viewbox="0 0 24 24" class="css-1e9usfn e18wxygq0"><path fill="none" d="M0 0h24v24H0z"/><path d="m13.172 12-4.95-4.95 1.414-1.414L16 12l-6.364 6.364-1.414-1.414z"/></svg></button></li><li class="css-8atqhb e16dmnqw2"><button tabindex="0" aria-expanded="false" aria-label="Extension Guide" class="css-12pshxq e16dmnqw1">Extension Guide<svg viewbox="0 0 24 24" class="css-1e9usfn e18wxygq0"><path fill="none" d="M0 0h24v24H0z"/><path d="m13.172 12-4.95-4.95 1.414-1.414L16 12l-6.364 6.364-1.414-1.414z"/></svg></button></li></ul><style data-emotion="css 1ec4g9s">.css-1ec4g9s{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;row-gap:0.5rem;padding-top:2rem;font-size:1.6rem;border-top-width:1px;--tw-border-opacity:1;border-top-color:rgb(211 220 233 / var(--tw-border-opacity));}.css-1ec4g9s a{--tw-text-opacity:1;color:rgb(41 0 66 / var(--tw-text-opacity));font-weight:500;}.css-1ec4g9s a:hover{text-decoration-line:underline;}.css-1ec4g9s a.external-link span:hover,.css-1ec4g9s a.external-link strong:hover,.css-1ec4g9s a.external-link em:hover{--tw-text-opacity:1;color:rgb(41 0 66 / var(--tw-text-opacity));}.css-1ec4g9s a.external-link svg{margin-bottom:0.25rem;fill:#5F656D;width:1rem;}.css-1ec4g9s a.external-link svg:hover{fill:#39057B;}</style><div class="css-1ec4g9s e1yqhvs80"><p><a href="https://www.sonarsource.com/" class="external-link" target="_blank" rel="noopener" title="Sonar Home" referrerpolicy="unsafe-url">Sonar Home<style data-emotion="css bb4kds">.css-bb4kds{margin-left:0.5rem;display:inline-block;}</style><svg width="16" height="16" viewbox="0 0 16 16" xmlns="http://www.w3.org/2000/svg" class="css-bb4kds e1qcma9n0"><path d="M9.5 0.75C9.5 1.16562 9.83438 1.5 10.25 1.5H13.4406L6.46875 8.46875C6.175 8.7625 6.175 9.2375 6.46875 9.52812C6.7625 9.81875 7.2375 9.82187 7.52812 9.52812L14.4969 2.55938V5.75C14.4969 6.16563 14.8313 6.5 15.2469 6.5C15.6625 6.5 15.9969 6.16563 15.9969 5.75V0.75C15.9969 0.334375 15.6625 0 15.2469 0H10.25C9.83438 0 9.5 0.334375 9.5 0.75ZM2.25 1C1.00625 1 0 2.00625 0 3.25V13.75C0 14.9937 1.00625 16 2.25 16H12.75C13.9937 16 15 14.9937 15 13.75V9.75C15 9.33438 14.6656 9 14.25 9C13.8344 9 13.5 9.33438 13.5 9.75V13.75C13.5 14.1656 13.1656 14.5 12.75 14.5H2.25C1.83438 14.5 1.5 14.1656 1.5 13.75V3.25C1.5 2.83437 1.83438 2.5 2.25 2.5H6.25C6.66563 2.5 7 2.16563 7 1.75C7 1.33438 6.66563 1 6.25 1H2.25Z"/></svg></a></p> <p><a href="https://www.sonarsource.com/products/sonarqube/" class="external-link" target="_blank" rel="noopener" title="SonarQube" referrerpolicy="unsafe-url">SonarQube<svg width="16" height="16" viewbox="0 0 16 16" xmlns="http://www.w3.org/2000/svg" class="css-bb4kds e1qcma9n0"><path d="M9.5 0.75C9.5 1.16562 9.83438 1.5 10.25 1.5H13.4406L6.46875 8.46875C6.175 8.7625 6.175 9.2375 6.46875 9.52812C6.7625 9.81875 7.2375 9.82187 7.52812 9.52812L14.4969 2.55938V5.75C14.4969 6.16563 14.8313 6.5 15.2469 6.5C15.6625 6.5 15.9969 6.16563 15.9969 5.75V0.75C15.9969 0.334375 15.6625 0 15.2469 0H10.25C9.83438 0 9.5 0.334375 9.5 0.75ZM2.25 1C1.00625 1 0 2.00625 0 3.25V13.75C0 14.9937 1.00625 16 2.25 16H12.75C13.9937 16 15 14.9937 15 13.75V9.75C15 9.33438 14.6656 9 14.25 9C13.8344 9 13.5 9.33438 13.5 9.75V13.75C13.5 14.1656 13.1656 14.5 12.75 14.5H2.25C1.83438 14.5 1.5 14.1656 1.5 13.75V3.25C1.5 2.83437 1.83438 2.5 2.25 2.5H6.25C6.66563 2.5 7 2.16563 7 1.75C7 1.33438 6.66563 1 6.25 1H2.25Z"/></svg></a></p> <p><a href="https://community.sonarsource.com/" class="external-link" target="_blank" rel="noopener" title="Community">Community<svg width="16" height="16" viewbox="0 0 16 16" xmlns="http://www.w3.org/2000/svg" class="css-bb4kds e1qcma9n0"><path d="M9.5 0.75C9.5 1.16562 9.83438 1.5 10.25 1.5H13.4406L6.46875 8.46875C6.175 8.7625 6.175 9.2375 6.46875 9.52812C6.7625 9.81875 7.2375 9.82187 7.52812 9.52812L14.4969 2.55938V5.75C14.4969 6.16563 14.8313 6.5 15.2469 6.5C15.6625 6.5 15.9969 6.16563 15.9969 5.75V0.75C15.9969 0.334375 15.6625 0 15.2469 0H10.25C9.83438 0 9.5 0.334375 9.5 0.75ZM2.25 1C1.00625 1 0 2.00625 0 3.25V13.75C0 14.9937 1.00625 16 2.25 16H12.75C13.9937 16 15 14.9937 15 13.75V9.75C15 9.33438 14.6656 9 14.25 9C13.8344 9 13.5 9.33438 13.5 9.75V13.75C13.5 14.1656 13.1656 14.5 12.75 14.5H2.25C1.83438 14.5 1.5 14.1656 1.5 13.75V3.25C1.5 2.83437 1.83438 2.5 2.25 2.5H6.25C6.66563 2.5 7 2.16563 7 1.75C7 1.33438 6.66563 1 6.25 1H2.25Z"/></svg></a></p> <p><a href="https://www.sonarsource.com/solutions/clean-code/" class="external-link" target="_blank" rel="noopener" title="Clean Code" referrerpolicy="unsafe-url">Clean Code<svg width="16" height="16" viewbox="0 0 16 16" xmlns="http://www.w3.org/2000/svg" class="css-bb4kds e1qcma9n0"><path d="M9.5 0.75C9.5 1.16562 9.83438 1.5 10.25 1.5H13.4406L6.46875 8.46875C6.175 8.7625 6.175 9.2375 6.46875 9.52812C6.7625 9.81875 7.2375 9.82187 7.52812 9.52812L14.4969 2.55938V5.75C14.4969 6.16563 14.8313 6.5 15.2469 6.5C15.6625 6.5 15.9969 6.16563 15.9969 5.75V0.75C15.9969 0.334375 15.6625 0 15.2469 0H10.25C9.83438 0 9.5 0.334375 9.5 0.75ZM2.25 1C1.00625 1 0 2.00625 0 3.25V13.75C0 14.9937 1.00625 16 2.25 16H12.75C13.9937 16 15 14.9937 15 13.75V9.75C15 9.33438 14.6656 9 14.25 9C13.8344 9 13.5 9.33438 13.5 9.75V13.75C13.5 14.1656 13.1656 14.5 12.75 14.5H2.25C1.83438 14.5 1.5 14.1656 1.5 13.75V3.25C1.5 2.83437 1.83438 2.5 2.25 2.5H6.25C6.66563 2.5 7 2.16563 7 1.75C7 1.33438 6.66563 1 6.25 1H2.25Z"/></svg></a></p> <p><a href="https://twitter.com/Sonarsource" class="external-link" target="_blank" rel="noopener" title="Twitter">Twitter<svg width="16" height="16" viewbox="0 0 16 16" xmlns="http://www.w3.org/2000/svg" class="css-bb4kds e1qcma9n0"><path d="M9.5 0.75C9.5 1.16562 9.83438 1.5 10.25 1.5H13.4406L6.46875 8.46875C6.175 8.7625 6.175 9.2375 6.46875 9.52812C6.7625 9.81875 7.2375 9.82187 7.52812 9.52812L14.4969 2.55938V5.75C14.4969 6.16563 14.8313 6.5 15.2469 6.5C15.6625 6.5 15.9969 6.16563 15.9969 5.75V0.75C15.9969 0.334375 15.6625 0 15.2469 0H10.25C9.83438 0 9.5 0.334375 9.5 0.75ZM2.25 1C1.00625 1 0 2.00625 0 3.25V13.75C0 14.9937 1.00625 16 2.25 16H12.75C13.9937 16 15 14.9937 15 13.75V9.75C15 9.33438 14.6656 9 14.25 9C13.8344 9 13.5 9.33438 13.5 9.75V13.75C13.5 14.1656 13.1656 14.5 12.75 14.5H2.25C1.83438 14.5 1.5 14.1656 1.5 13.75V3.25C1.5 2.83437 1.83438 2.5 2.25 2.5H6.25C6.66563 2.5 7 2.16563 7 1.75C7 1.33438 6.66563 1 6.25 1H2.25Z"/></svg></a></p> <p><br/></p></div></nav></div><style data-emotion="css 1d4gxls">.css-1d4gxls{position:relative;min-height:100vh;--tw-bg-opacity:1;background-color:rgb(255 255 255 / var(--tw-bg-opacity));padding-bottom:2rem;margin-left:362px;min-width:740px;}</style><div class="css-1d4gxls e1xjpii30"><style data-emotion="css x6kqg6">.css-x6kqg6{margin:auto;min-width:860px;max-width:1200px;padding-left:6rem;padding-top:4rem;}</style><div class="css-x6kqg6 ez2963e1"><style data-emotion="css y68rq1">.css-y68rq1{float:right;width:200px;}</style><div class="css-y68rq1 ekik6da1"><style data-emotion="css 5g3ka4">.css-5g3ka4{position:fixed;padding-left:1.5rem;padding-right:24px;width:220px;}</style><div class="css-5g3ka4 ekik6da2"><style data-emotion="css 8wpus5">.css-8wpus5{display:inline-block;padding-left:24px;padding-right:24px;padding-top:16px;padding-bottom:16px;border-width:2px;border-style:solid;text-transform:uppercase;letter-spacing:2.1px;font-family:Saira,Saira-Fallback;font-weight:700;text-align:center;white-space:nowrap;overflow:hidden;font-size:14px;line-height:16px;width:100%;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:300ms;--tw-text-opacity:1;color:rgb(255 255 255 / var(--tw-text-opacity));--tw-border-opacity:1;border-color:rgb(41 0 66 / var(--tw-border-opacity));--tw-bg-opacity:1;background-color:rgb(41 0 66 / var(--tw-bg-opacity));}.css-8wpus5:hover{--tw-text-opacity:1;color:rgb(41 0 66 / var(--tw-text-opacity));}.css-8wpus5:active{--tw-text-opacity:1;color:rgb(255 255 255 / var(--tw-text-opacity));}.css-8wpus5:active{--tw-border-opacity:1;border-color:rgb(41 0 66 / var(--tw-border-opacity));}.css-8wpus5:hover{background-color:transparent;}.css-8wpus5:active{--tw-bg-opacity:1;background-color:rgb(41 0 66 / var(--tw-bg-opacity));}.css-8wpus5 svg{;}</style><a href="https://www.sonarsource.com/plans-and-pricing/enterprise/" class="cta-menu-link css-8wpus5 ekik6da0" target="_blank" rel="noopener" title="Start Free" referrerpolicy="unsafe-url">Start Free<svg width="16" height="16" viewbox="0 0 16 16" xmlns="http://www.w3.org/2000/svg" class="css-bb4kds e1qcma9n0"><path d="M9.5 0.75C9.5 1.16562 9.83438 1.5 10.25 1.5H13.4406L6.46875 8.46875C6.175 8.7625 6.175 9.2375 6.46875 9.52812C6.7625 9.81875 7.2375 9.82187 7.52812 9.52812L14.4969 2.55938V5.75C14.4969 6.16563 14.8313 6.5 15.2469 6.5C15.6625 6.5 15.9969 6.16563 15.9969 5.75V0.75C15.9969 0.334375 15.6625 0 15.2469 0H10.25C9.83438 0 9.5 0.334375 9.5 0.75ZM2.25 1C1.00625 1 0 2.00625 0 3.25V13.75C0 14.9937 1.00625 16 2.25 16H12.75C13.9937 16 15 14.9937 15 13.75V9.75C15 9.33438 14.6656 9 14.25 9C13.8344 9 13.5 9.33438 13.5 9.75V13.75C13.5 14.1656 13.1656 14.5 12.75 14.5H2.25C1.83438 14.5 1.5 14.1656 1.5 13.75V3.25C1.5 2.83437 1.83438 2.5 2.25 2.5H6.25C6.66563 2.5 7 2.16563 7 1.75C7 1.33438 6.66563 1 6.25 1H2.25Z"/></svg></a></div></div><style data-emotion="css kfibva">.css-kfibva{margin-bottom:2.75rem;font-size:1.4rem;--tw-text-opacity:1;color:rgb(0 0 0 / var(--tw-text-opacity));}</style><div class="css-kfibva e19l5zns0">Latest | Server installation and setup | Configure and operate a server | Environment variables</div><style data-emotion="css 1xs91ms">.css-1xs91ms{padding-right:24rem;}</style><div class="css-1xs91ms ez2963e0"><style data-emotion="css 701cx4">.css-701cx4{font-family:Saira,Saira-Fallback;--tw-text-opacity:1;color:rgb(41 0 66 / var(--tw-text-opacity));font-weight:600;font-size:3.2rem;margin-bottom:4rem;}</style><h1 class="css-701cx4 ez2963e2">Environment variables</h1></div><style data-emotion="css pyxnnm">.css-pyxnnm{float:right;width:220px;padding-left:2rem;}</style><div class="css-pyxnnm e1ec8lza5"><style data-emotion="css 1a1j922">.css-1a1j922{position:fixed;width:inherit;padding-left:1.5rem;padding-right:24px;border-left-width:1px;--tw-border-opacity:1;border-left-color:rgb(211 220 233 / var(--tw-border-opacity));}</style><div class="css-1a1j922 e1ec8lza4"><style data-emotion="css 1p3nkry">.css-1p3nkry{margin-bottom:1.25rem;font-size:1.6rem;font-weight:500;}</style><h3 class="css-1p3nkry e1ec8lza3">On this page</h3><style data-emotion="css j7qwjs">.css-j7qwjs{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;}</style><div class="css-j7qwjs e1ec8lza2"><style data-emotion="css dk9z38">.css-dk9z38{margin-bottom:0.5rem;font-size:1.4rem;}</style><a class="css-dk9z38 e1ec8lza1" href="/sonarqube/latest/setup-and-upgrade/configure-and-operate-a-server/environment-variables/#database"><style data-emotion="css c980nq">.css-c980nq{display:inline-block;}.css-c980nq:hover{font-weight:500;--tw-text-opacity:1;color:rgb(41 0 66 / var(--tw-text-opacity));}</style><span class="css-c980nq e1ec8lza0"> <!-- -->Database</span></a><a class="css-dk9z38 e1ec8lza1" href="/sonarqube/latest/setup-and-upgrade/configure-and-operate-a-server/environment-variables/#web-server"><span class="css-c980nq e1ec8lza0"> <!-- -->Web server</span></a><a class="css-dk9z38 e1ec8lza1" href="/sonarqube/latest/setup-and-upgrade/configure-and-operate-a-server/environment-variables/#sso-authentication"><span class="css-c980nq e1ec8lza0"> <!-- -->SSO authentication</span></a><a class="css-dk9z38 e1ec8lza1" href="/sonarqube/latest/setup-and-upgrade/configure-and-operate-a-server/environment-variables/#ldap-configuration"><span class="css-c980nq e1ec8lza0"> <!-- -->LDAP configuration</span></a><a class="css-dk9z38 e1ec8lza1" href="/sonarqube/latest/setup-and-upgrade/configure-and-operate-a-server/environment-variables/#compute-engine"><span class="css-c980nq e1ec8lza0"> <!-- -->Compute engine</span></a><a class="css-dk9z38 e1ec8lza1" href="/sonarqube/latest/setup-and-upgrade/configure-and-operate-a-server/environment-variables/#elasticsearch"><span class="css-c980nq e1ec8lza0"> <!-- -->Elasticsearch</span></a><a class="css-dk9z38 e1ec8lza1" href="/sonarqube/latest/setup-and-upgrade/configure-and-operate-a-server/environment-variables/#update-center"><span class="css-c980nq e1ec8lza0"> <!-- -->Update center</span></a><a class="css-dk9z38 e1ec8lza1" href="/sonarqube/latest/setup-and-upgrade/configure-and-operate-a-server/environment-variables/#logging"><span class="css-c980nq e1ec8lza0"> <!-- -->Logging</span></a><a class="css-dk9z38 e1ec8lza1" href="/sonarqube/latest/setup-and-upgrade/configure-and-operate-a-server/environment-variables/#datacenter-edition"><span class="css-c980nq e1ec8lza0"> <!-- -->DataCenter Edition</span></a><a class="css-dk9z38 e1ec8lza1" href="/sonarqube/latest/setup-and-upgrade/configure-and-operate-a-server/environment-variables/#others"><span class="css-c980nq e1ec8lza0"> <!-- -->Others</span></a><a class="css-dk9z38 e1ec8lza1" href="/sonarqube/latest/setup-and-upgrade/configure-and-operate-a-server/environment-variables/#development-only-for-developers"><span class="css-c980nq e1ec8lza0"> <!-- -->Development - only for developers</span></a></div></div></div><div class="css-1xs91ms ez2963e0"><style data-emotion="css 1btxym6">.css-1btxym6{font-weight:400;line-height:1.5;--tw-text-opacity:1;color:rgb(59 63 68 / var(--tw-text-opacity));}.css-1btxym6 .table-responsive{word-break:break-all;}.css-1btxym6 .table-responsive table{margin-bottom:2rem;margin-top:0.75rem;min-width:50%;border-collapse:collapse;border-width:1px;border-style:solid;--tw-border-opacity:1;border-color:rgb(230 230 230 / var(--tw-border-opacity));}.css-1btxym6 .table-responsive tr:first-of-type{--tw-bg-opacity:1;background-color:rgb(243 243 243 / var(--tw-bg-opacity));text-align:center;}.css-1btxym6 .table-responsive th,.css-1btxym6 .table-responsive tr,.css-1btxym6 .table-responsive td{border-collapse:collapse;border-width:1px;border-style:solid;--tw-border-opacity:1;border-color:rgb(230 230 230 / var(--tw-border-opacity));padding-left:10px;padding-right:10px;padding-top:5px;padding-bottom:5px;overflow-wrap:break-word;max-width:800px;}.css-1btxym6 .table-responsive *{max-width:800px;}.css-1btxym6 h2,.css-1btxym6 h3,.css-1btxym6 h4,.css-1btxym6 h5,.css-1btxym6 h6{font-weight:700;--tw-text-opacity:1;color:rgb(0 0 0 / var(--tw-text-opacity));}.css-1btxym6 h2+h3,.css-1btxym6 h3+h4,.css-1btxym6 h4+h5,.css-1btxym6 h5+h6{margin-top:0px;}.css-1btxym6 h2{font-size:2.4rem;padding-bottom:0.5rem;}.css-1btxym6 h3{padding-bottom:0.25rem;font-size:2.1rem;}.css-1btxym6 h4{padding-bottom:0.25rem;font-size:1.8rem;}.css-1btxym6 h5{padding-bottom:0.25rem;font-size:1.8rem;}.css-1btxym6 h6{padding-bottom:0.25rem;font-size:1.6rem;}.css-1btxym6 p{margin-bottom:1.5rem;}.css-1btxym6 p+pre{margin-top:-1rem;}.css-1btxym6 img{max-height:100%;max-width:100%;}.css-1btxym6 ol,.css-1btxym6 ul{margin-bottom:2rem;padding-left:2.5rem;}.css-1btxym6 ul{list-style-type:disc;}.css-1btxym6 ol{list-style-type:decimal;}.css-1btxym6 li{margin-bottom:1rem;}.css-1btxym6 a.external-link,.css-1btxym6 a.internal-link{--tw-text-opacity:1;color:rgb(34 40 164 / var(--tw-text-opacity));text-decoration-line:none;font-weight:500;}.css-1btxym6 a.external-link:hover,.css-1btxym6 a.internal-link:hover{--tw-text-opacity:1;color:rgb(41 0 66 / var(--tw-text-opacity));}.css-1btxym6 a.external-link.external-link span:hover,.css-1btxym6 a.internal-link.external-link span:hover,.css-1btxym6 a.external-link.external-link strong:hover,.css-1btxym6 a.internal-link.external-link strong:hover,.css-1btxym6 a.external-link.external-link em:hover,.css-1btxym6 a.internal-link.external-link em:hover{--tw-text-opacity:1;color:rgb(41 0 66 / var(--tw-text-opacity));}.css-1btxym6 a.external-link.external-link svg,.css-1btxym6 a.internal-link.external-link svg{margin-bottom:0.25rem;fill:#5F656D;width:1rem;}.css-1btxym6 a.external-link.external-link svg:hover,.css-1btxym6 a.internal-link.external-link svg:hover{fill:#39057B;}.css-1btxym6 code{display:inline-block;--tw-text-opacity:1;color:rgb(59 63 68 / var(--tw-text-opacity));--tw-bg-opacity:1;background-color:rgb(221 230 243 / var(--tw-bg-opacity));font-size:1.6rem;word-break:break-word;padding-left:4px;padding-right:4px;font-family:monospace;}.css-1btxym6 figure>pre{padding:16px;--tw-bg-opacity:1;background-color:rgb(250 252 255 / var(--tw-bg-opacity));border-width:1px;border-style:dashed;--tw-border-opacity:1;border-color:rgb(211 220 233 / var(--tw-border-opacity));line-height:2rem;}.css-1btxym6 figure>pre>code{padding:0px;--tw-bg-opacity:1;background-color:rgb(250 252 255 / var(--tw-bg-opacity));}.css-1btxym6 blockquote{border-left-width:4px;border-style:solid;--tw-border-opacity:1;border-color:rgb(228 228 228 / var(--tw-border-opacity));line-height:1.5;margin-left:0px;margin-right:0px;margin-top:20px;margin-bottom:20px;padding-left:15;padding-right:15;padding-top:0px;padding-bottom:0px;}.css-1btxym6 figure{margin-bottom:2rem;}</style><div class="css-1btxym6 ent2e1l0"><p>This page provides environment variables used for configuring SonarQube with Docker. The values provided in the following environment variables are the default values.</p> <style data-emotion="css 18d4ktp">.css-18d4ktp{position:relative;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-bottom:1rem;margin-top:3rem;font-size:2.4rem;font-weight:700;}.css-18d4ktp:hover svg{display:inline-block;}</style><h2 id="database" class="css-18d4ktp ewop7ah2"><style data-emotion="css 4ebt6d">.css-4ebt6d{position:relative;--tw-text-opacity:1;color:rgb(0 0 0 / var(--tw-text-opacity));}</style><a title="Database" class="css-4ebt6d ewop7ah1" href="/sonarqube/latest/setup-and-upgrade/configure-and-operate-a-server/environment-variables/#database">Database<style data-emotion="css abpesc">.css-abpesc{width:2rem;;margin-left:0.5rem;fill:#5F656D;}.css-abpesc:hover{fill:#290042;}</style><svg type="h2" height="24" viewbox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" class="css-abpesc ewop7ah0"><path d="M8.46588 12.7069C9.59888 13.8399 11.5749 13.8399 12.7079 12.7069L13.4149 11.9999L14.8289 13.4139L14.1219 14.1209C13.1789 15.0649 11.9229 15.5859 10.5869 15.5859C9.25088 15.5859 7.99488 15.0649 7.05188 14.1209L4.92988 11.9999C3.99417 11.0612 3.46875 9.78985 3.46875 8.46444C3.46875 7.13902 3.99417 5.86765 4.92988 4.92894C5.39375 4.4644 5.94484 4.0961 6.55149 3.8452C7.15814 3.59431 7.80839 3.46575 8.46488 3.46693C9.12154 3.46557 9.77199 3.59403 10.3788 3.84493C10.9857 4.09584 11.5369 4.46424 12.0009 4.92894L12.7079 5.63594L11.2939 7.04994L10.5869 6.34294C10.0233 5.78193 9.26055 5.46697 8.46538 5.46697C7.67021 5.46697 6.90741 5.78193 6.34388 6.34294C5.78238 6.90621 5.46708 7.6691 5.46708 8.46444C5.46708 9.25977 5.78238 10.0227 6.34388 10.5859L8.46588 12.7069Z"/><path d="M11.9999 19.0713L11.2929 18.3643L12.7069 16.9503L13.4139 17.6573C13.9774 18.2183 14.7402 18.5332 15.5354 18.5332C16.3305 18.5332 17.0933 18.2183 17.6569 17.6573C18.2184 17.094 18.5337 16.3311 18.5337 15.5357C18.5337 14.7404 18.2184 13.9775 17.6569 13.4142L15.5349 11.2933C14.4019 10.1602 12.4259 10.1602 11.2929 11.2933L10.5859 12.0002L9.17188 10.5863L9.87887 9.87925C10.8219 8.93525 12.0779 8.41425 13.4139 8.41425C14.7499 8.41425 16.0059 8.93525 16.9489 9.87925L19.0709 12.0002C20.0066 12.939 20.532 14.2103 20.532 15.5357C20.532 16.8612 20.0066 18.1325 19.0709 19.0713C18.1324 20.0074 16.861 20.5332 15.5354 20.5332C14.2098 20.5332 12.9383 20.0074 11.9999 19.0713Z"/></svg></a></h2> <li>The embedded H2 database is used by default. It is recommended for tests but not for production use. Supported databases are Oracle, PostgreSQL, and Microsoft SQLServer.</li> <li>Changes to the database connection URL (<code>sonar.jdbc.url</code>) can affect SonarSource licensed products.</li> <li>Unless you intend to delete the database and start new when running your image, be careful not to use <code>-v</code> to <code>docker-compose down</code> and, be careful when running commands like <code>docker system prune</code> or <code>docker volume prune</code>; regardless if you use an <code>external: true</code> parameter, your database volumes will not persist beyond the initial startup and shutdown of SonarQube.</li> <h3 id="user-credentials" class="css-18d4ktp ewop7ah2"><a title="User credentials" class="css-4ebt6d ewop7ah1" href="/sonarqube/latest/setup-and-upgrade/configure-and-operate-a-server/environment-variables/#user-credentials">User credentials<style data-emotion="css p7dib0">.css-p7dib0{width:1.75rem;;margin-left:0.5rem;fill:#5F656D;}.css-p7dib0:hover{fill:#290042;}</style><svg type="h3" height="24" viewbox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" class="css-p7dib0 ewop7ah0"><path d="M8.46588 12.7069C9.59888 13.8399 11.5749 13.8399 12.7079 12.7069L13.4149 11.9999L14.8289 13.4139L14.1219 14.1209C13.1789 15.0649 11.9229 15.5859 10.5869 15.5859C9.25088 15.5859 7.99488 15.0649 7.05188 14.1209L4.92988 11.9999C3.99417 11.0612 3.46875 9.78985 3.46875 8.46444C3.46875 7.13902 3.99417 5.86765 4.92988 4.92894C5.39375 4.4644 5.94484 4.0961 6.55149 3.8452C7.15814 3.59431 7.80839 3.46575 8.46488 3.46693C9.12154 3.46557 9.77199 3.59403 10.3788 3.84493C10.9857 4.09584 11.5369 4.46424 12.0009 4.92894L12.7079 5.63594L11.2939 7.04994L10.5869 6.34294C10.0233 5.78193 9.26055 5.46697 8.46538 5.46697C7.67021 5.46697 6.90741 5.78193 6.34388 6.34294C5.78238 6.90621 5.46708 7.6691 5.46708 8.46444C5.46708 9.25977 5.78238 10.0227 6.34388 10.5859L8.46588 12.7069Z"/><path d="M11.9999 19.0713L11.2929 18.3643L12.7069 16.9503L13.4139 17.6573C13.9774 18.2183 14.7402 18.5332 15.5354 18.5332C16.3305 18.5332 17.0933 18.2183 17.6569 17.6573C18.2184 17.094 18.5337 16.3311 18.5337 15.5357C18.5337 14.7404 18.2184 13.9775 17.6569 13.4142L15.5349 11.2933C14.4019 10.1602 12.4259 10.1602 11.2929 11.2933L10.5859 12.0002L9.17188 10.5863L9.87887 9.87925C10.8219 8.93525 12.0779 8.41425 13.4139 8.41425C14.7499 8.41425 16.0059 8.93525 16.9489 9.87925L19.0709 12.0002C20.0066 12.939 20.532 14.2103 20.532 15.5357C20.532 16.8612 20.0066 18.1325 19.0709 19.0713C18.1324 20.0074 16.861 20.5332 15.5354 20.5332C14.2098 20.5332 12.9383 20.0074 11.9999 19.0713Z"/></svg></a></h3> <p><code><strong>SONAR_JDBC_USERNAME=<br/> SONAR_JDBC_PASSWORD=<br/> </strong></code>Permissions to create tables, indices, and triggers must be granted to JDBC user. The schema must be created first.</p> <h3 id="embedded-database" class="css-18d4ktp ewop7ah2"><a title="Embedded database" class="css-4ebt6d ewop7ah1" href="/sonarqube/latest/setup-and-upgrade/configure-and-operate-a-server/environment-variables/#embedded-database">Embedded database<svg type="h3" height="24" viewbox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" class="css-p7dib0 ewop7ah0"><path d="M8.46588 12.7069C9.59888 13.8399 11.5749 13.8399 12.7079 12.7069L13.4149 11.9999L14.8289 13.4139L14.1219 14.1209C13.1789 15.0649 11.9229 15.5859 10.5869 15.5859C9.25088 15.5859 7.99488 15.0649 7.05188 14.1209L4.92988 11.9999C3.99417 11.0612 3.46875 9.78985 3.46875 8.46444C3.46875 7.13902 3.99417 5.86765 4.92988 4.92894C5.39375 4.4644 5.94484 4.0961 6.55149 3.8452C7.15814 3.59431 7.80839 3.46575 8.46488 3.46693C9.12154 3.46557 9.77199 3.59403 10.3788 3.84493C10.9857 4.09584 11.5369 4.46424 12.0009 4.92894L12.7079 5.63594L11.2939 7.04994L10.5869 6.34294C10.0233 5.78193 9.26055 5.46697 8.46538 5.46697C7.67021 5.46697 6.90741 5.78193 6.34388 6.34294C5.78238 6.90621 5.46708 7.6691 5.46708 8.46444C5.46708 9.25977 5.78238 10.0227 6.34388 10.5859L8.46588 12.7069Z"/><path d="M11.9999 19.0713L11.2929 18.3643L12.7069 16.9503L13.4139 17.6573C13.9774 18.2183 14.7402 18.5332 15.5354 18.5332C16.3305 18.5332 17.0933 18.2183 17.6569 17.6573C18.2184 17.094 18.5337 16.3311 18.5337 15.5357C18.5337 14.7404 18.2184 13.9775 17.6569 13.4142L15.5349 11.2933C14.4019 10.1602 12.4259 10.1602 11.2929 11.2933L10.5859 12.0002L9.17188 10.5863L9.87887 9.87925C10.8219 8.93525 12.0779 8.41425 13.4139 8.41425C14.7499 8.41425 16.0059 8.93525 16.9489 9.87925L19.0709 12.0002C20.0066 12.939 20.532 14.2103 20.532 15.5357C20.532 16.8612 20.0066 18.1325 19.0709 19.0713C18.1324 20.0074 16.861 20.5332 15.5354 20.5332C14.2098 20.5332 12.9383 20.0074 11.9999 19.0713Z"/></svg></a></h3> <p><code><strong>SONAR_EMBEDDEDDATABASE_PORT=9092<br/> </strong></code>H2 embedded database server listening port, defaults to 9092.</p> <h3 id="oracle-19c21c" class="css-18d4ktp ewop7ah2"><a title="Oracle 19c/21c" class="css-4ebt6d ewop7ah1" href="/sonarqube/latest/setup-and-upgrade/configure-and-operate-a-server/environment-variables/#oracle-19c21c">Oracle 19c/21c<svg type="h3" height="24" viewbox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" class="css-p7dib0 ewop7ah0"><path d="M8.46588 12.7069C9.59888 13.8399 11.5749 13.8399 12.7079 12.7069L13.4149 11.9999L14.8289 13.4139L14.1219 14.1209C13.1789 15.0649 11.9229 15.5859 10.5869 15.5859C9.25088 15.5859 7.99488 15.0649 7.05188 14.1209L4.92988 11.9999C3.99417 11.0612 3.46875 9.78985 3.46875 8.46444C3.46875 7.13902 3.99417 5.86765 4.92988 4.92894C5.39375 4.4644 5.94484 4.0961 6.55149 3.8452C7.15814 3.59431 7.80839 3.46575 8.46488 3.46693C9.12154 3.46557 9.77199 3.59403 10.3788 3.84493C10.9857 4.09584 11.5369 4.46424 12.0009 4.92894L12.7079 5.63594L11.2939 7.04994L10.5869 6.34294C10.0233 5.78193 9.26055 5.46697 8.46538 5.46697C7.67021 5.46697 6.90741 5.78193 6.34388 6.34294C5.78238 6.90621 5.46708 7.6691 5.46708 8.46444C5.46708 9.25977 5.78238 10.0227 6.34388 10.5859L8.46588 12.7069Z"/><path d="M11.9999 19.0713L11.2929 18.3643L12.7069 16.9503L13.4139 17.6573C13.9774 18.2183 14.7402 18.5332 15.5354 18.5332C16.3305 18.5332 17.0933 18.2183 17.6569 17.6573C18.2184 17.094 18.5337 16.3311 18.5337 15.5357C18.5337 14.7404 18.2184 13.9775 17.6569 13.4142L15.5349 11.2933C14.4019 10.1602 12.4259 10.1602 11.2929 11.2933L10.5859 12.0002L9.17188 10.5863L9.87887 9.87925C10.8219 8.93525 12.0779 8.41425 13.4139 8.41425C14.7499 8.41425 16.0059 8.93525 16.9489 9.87925L19.0709 12.0002C20.0066 12.939 20.532 14.2103 20.532 15.5357C20.532 16.8612 20.0066 18.1325 19.0709 19.0713C18.1324 20.0074 16.861 20.5332 15.5354 20.5332C14.2098 20.5332 12.9383 20.0074 11.9999 19.0713Z"/></svg></a></h3> <p><code><strong>SONAR_JDBC_URL=jdbc:oracle:thin:@localhost:1521/XE<br/> </strong></code>The Oracle JDBC driver must be copied into the directory extensions/jdbc-driver/oracle/. Only the thin client is supported, and we recommend using the latest Oracle JDBC driver. See <a href="https://sonarsource.atlassian.net/browse/SONAR-9758" class="external-link" target="_blank" rel="noopener" title="https://sonarsource.atlassian.net/browse/SONAR-9758">https://sonarsource.atlassian.net/browse/SONAR-9758<svg width="16" height="16" viewbox="0 0 16 16" xmlns="http://www.w3.org/2000/svg" class="css-bb4kds e1qcma9n0"><path d="M9.5 0.75C9.5 1.16562 9.83438 1.5 10.25 1.5H13.4406L6.46875 8.46875C6.175 8.7625 6.175 9.2375 6.46875 9.52812C6.7625 9.81875 7.2375 9.82187 7.52812 9.52812L14.4969 2.55938V5.75C14.4969 6.16563 14.8313 6.5 15.2469 6.5C15.6625 6.5 15.9969 6.16563 15.9969 5.75V0.75C15.9969 0.334375 15.6625 0 15.2469 0H10.25C9.83438 0 9.5 0.334375 9.5 0.75ZM2.25 1C1.00625 1 0 2.00625 0 3.25V13.75C0 14.9937 1.00625 16 2.25 16H12.75C13.9937 16 15 14.9937 15 13.75V9.75C15 9.33438 14.6656 9 14.25 9C13.8344 9 13.5 9.33438 13.5 9.75V13.75C13.5 14.1656 13.1656 14.5 12.75 14.5H2.25C1.83438 14.5 1.5 14.1656 1.5 13.75V3.25C1.5 2.83437 1.83438 2.5 2.25 2.5H6.25C6.66563 2.5 7 2.16563 7 1.75C7 1.33438 6.66563 1 6.25 1H2.25Z"/></svg></a> for more details. If you need to set the schema, please refer to <a href="https://sonarsource.atlassian.net/browse/SONAR-5000" class="external-link" target="_blank" rel="noopener" title="https://sonarsource.atlassian.net/browse/SONAR-5000">https://sonarsource.atlassian.net/browse/SONAR-5000<svg width="16" height="16" viewbox="0 0 16 16" xmlns="http://www.w3.org/2000/svg" class="css-bb4kds e1qcma9n0"><path d="M9.5 0.75C9.5 1.16562 9.83438 1.5 10.25 1.5H13.4406L6.46875 8.46875C6.175 8.7625 6.175 9.2375 6.46875 9.52812C6.7625 9.81875 7.2375 9.82187 7.52812 9.52812L14.4969 2.55938V5.75C14.4969 6.16563 14.8313 6.5 15.2469 6.5C15.6625 6.5 15.9969 6.16563 15.9969 5.75V0.75C15.9969 0.334375 15.6625 0 15.2469 0H10.25C9.83438 0 9.5 0.334375 9.5 0.75ZM2.25 1C1.00625 1 0 2.00625 0 3.25V13.75C0 14.9937 1.00625 16 2.25 16H12.75C13.9937 16 15 14.9937 15 13.75V9.75C15 9.33438 14.6656 9 14.25 9C13.8344 9 13.5 9.33438 13.5 9.75V13.75C13.5 14.1656 13.1656 14.5 12.75 14.5H2.25C1.83438 14.5 1.5 14.1656 1.5 13.75V3.25C1.5 2.83437 1.83438 2.5 2.25 2.5H6.25C6.66563 2.5 7 2.16563 7 1.75C7 1.33438 6.66563 1 6.25 1H2.25Z"/></svg></a>.</p> <h3 id="postgresql-96-or-greater" class="css-18d4ktp ewop7ah2"><a title="PostgreSQL 9.6 or greater" class="css-4ebt6d ewop7ah1" href="/sonarqube/latest/setup-and-upgrade/configure-and-operate-a-server/environment-variables/#postgresql-96-or-greater">PostgreSQL 9.6 or greater<svg type="h3" height="24" viewbox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" class="css-p7dib0 ewop7ah0"><path d="M8.46588 12.7069C9.59888 13.8399 11.5749 13.8399 12.7079 12.7069L13.4149 11.9999L14.8289 13.4139L14.1219 14.1209C13.1789 15.0649 11.9229 15.5859 10.5869 15.5859C9.25088 15.5859 7.99488 15.0649 7.05188 14.1209L4.92988 11.9999C3.99417 11.0612 3.46875 9.78985 3.46875 8.46444C3.46875 7.13902 3.99417 5.86765 4.92988 4.92894C5.39375 4.4644 5.94484 4.0961 6.55149 3.8452C7.15814 3.59431 7.80839 3.46575 8.46488 3.46693C9.12154 3.46557 9.77199 3.59403 10.3788 3.84493C10.9857 4.09584 11.5369 4.46424 12.0009 4.92894L12.7079 5.63594L11.2939 7.04994L10.5869 6.34294C10.0233 5.78193 9.26055 5.46697 8.46538 5.46697C7.67021 5.46697 6.90741 5.78193 6.34388 6.34294C5.78238 6.90621 5.46708 7.6691 5.46708 8.46444C5.46708 9.25977 5.78238 10.0227 6.34388 10.5859L8.46588 12.7069Z"/><path d="M11.9999 19.0713L11.2929 18.3643L12.7069 16.9503L13.4139 17.6573C13.9774 18.2183 14.7402 18.5332 15.5354 18.5332C16.3305 18.5332 17.0933 18.2183 17.6569 17.6573C18.2184 17.094 18.5337 16.3311 18.5337 15.5357C18.5337 14.7404 18.2184 13.9775 17.6569 13.4142L15.5349 11.2933C14.4019 10.1602 12.4259 10.1602 11.2929 11.2933L10.5859 12.0002L9.17188 10.5863L9.87887 9.87925C10.8219 8.93525 12.0779 8.41425 13.4139 8.41425C14.7499 8.41425 16.0059 8.93525 16.9489 9.87925L19.0709 12.0002C20.0066 12.939 20.532 14.2103 20.532 15.5357C20.532 16.8612 20.0066 18.1325 19.0709 19.0713C18.1324 20.0074 16.861 20.5332 15.5354 20.5332C14.2098 20.5332 12.9383 20.0074 11.9999 19.0713Z"/></svg></a></h3> <p><code><strong>SONAR_JDBC_URL=jdbc:postgresql://localhost/sonarqube?currentSchema=my_schema<br/> </strong></code>By default the schema named "public" is used. It can be overridden with the parameter "currentSchema".</p> <h3 id="microsoft-sqlserver-20142016201720192022-and-sql-azure" class="css-18d4ktp ewop7ah2"><a title="Microsoft SQLServer 2014/2016/2017/2019/2022 and SQL Azure" class="css-4ebt6d ewop7ah1" href="/sonarqube/latest/setup-and-upgrade/configure-and-operate-a-server/environment-variables/#microsoft-sqlserver-20142016201720192022-and-sql-azure">Microsoft SQLServer 2014/2016/2017/2019/2022 and SQL Azure<svg type="h3" height="24" viewbox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" class="css-p7dib0 ewop7ah0"><path d="M8.46588 12.7069C9.59888 13.8399 11.5749 13.8399 12.7079 12.7069L13.4149 11.9999L14.8289 13.4139L14.1219 14.1209C13.1789 15.0649 11.9229 15.5859 10.5869 15.5859C9.25088 15.5859 7.99488 15.0649 7.05188 14.1209L4.92988 11.9999C3.99417 11.0612 3.46875 9.78985 3.46875 8.46444C3.46875 7.13902 3.99417 5.86765 4.92988 4.92894C5.39375 4.4644 5.94484 4.0961 6.55149 3.8452C7.15814 3.59431 7.80839 3.46575 8.46488 3.46693C9.12154 3.46557 9.77199 3.59403 10.3788 3.84493C10.9857 4.09584 11.5369 4.46424 12.0009 4.92894L12.7079 5.63594L11.2939 7.04994L10.5869 6.34294C10.0233 5.78193 9.26055 5.46697 8.46538 5.46697C7.67021 5.46697 6.90741 5.78193 6.34388 6.34294C5.78238 6.90621 5.46708 7.6691 5.46708 8.46444C5.46708 9.25977 5.78238 10.0227 6.34388 10.5859L8.46588 12.7069Z"/><path d="M11.9999 19.0713L11.2929 18.3643L12.7069 16.9503L13.4139 17.6573C13.9774 18.2183 14.7402 18.5332 15.5354 18.5332C16.3305 18.5332 17.0933 18.2183 17.6569 17.6573C18.2184 17.094 18.5337 16.3311 18.5337 15.5357C18.5337 14.7404 18.2184 13.9775 17.6569 13.4142L15.5349 11.2933C14.4019 10.1602 12.4259 10.1602 11.2929 11.2933L10.5859 12.0002L9.17188 10.5863L9.87887 9.87925C10.8219 8.93525 12.0779 8.41425 13.4139 8.41425C14.7499 8.41425 16.0059 8.93525 16.9489 9.87925L19.0709 12.0002C20.0066 12.939 20.532 14.2103 20.532 15.5357C20.532 16.8612 20.0066 18.1325 19.0709 19.0713C18.1324 20.0074 16.861 20.5332 15.5354 20.5332C14.2098 20.5332 12.9383 20.0074 11.9999 19.0713Z"/></svg></a></h3> <p><code><strong>SONAR_JDBC_URL=jdbc:sqlserver://localhost;databaseName=sonar;integratedSecurity=true<br/> </strong></code>A database named sonar must exist and its collation must be case-sensitive (CS) and accent-sensitive (AS). Use this connection string if you want to use integrated security with Microsoft SQL Server. Do not set the <code>SONAR_JDBC_USERNAME</code> or <code>SONAR_JDBC_PASSWORD</code> property if you are using Integrated Security.</p> <p>For Integrated Security to work, you have to download the <a href="https://github.com/microsoft/mssql-jdbc/releases/download/v12.6.1/mssql-jdbc_auth.zip" class="external-link" target="_blank" rel="noopener" title="Microsoft SQL JDBC Auth 12.6.1 package">Microsoft SQL JDBC Auth 12.6.1 package<svg width="16" height="16" viewbox="0 0 16 16" xmlns="http://www.w3.org/2000/svg" class="css-bb4kds e1qcma9n0"><path d="M9.5 0.75C9.5 1.16562 9.83438 1.5 10.25 1.5H13.4406L6.46875 8.46875C6.175 8.7625 6.175 9.2375 6.46875 9.52812C6.7625 9.81875 7.2375 9.82187 7.52812 9.52812L14.4969 2.55938V5.75C14.4969 6.16563 14.8313 6.5 15.2469 6.5C15.6625 6.5 15.9969 6.16563 15.9969 5.75V0.75C15.9969 0.334375 15.6625 0 15.2469 0H10.25C9.83438 0 9.5 0.334375 9.5 0.75ZM2.25 1C1.00625 1 0 2.00625 0 3.25V13.75C0 14.9937 1.00625 16 2.25 16H12.75C13.9937 16 15 14.9937 15 13.75V9.75C15 9.33438 14.6656 9 14.25 9C13.8344 9 13.5 9.33438 13.5 9.75V13.75C13.5 14.1656 13.1656 14.5 12.75 14.5H2.25C1.83438 14.5 1.5 14.1656 1.5 13.75V3.25C1.5 2.83437 1.83438 2.5 2.25 2.5H6.25C6.66563 2.5 7 2.16563 7 1.75C7 1.33438 6.66563 1 6.25 1H2.25Z"/></svg></a> and copy <code>mssql-jdbc_auth-12.6.1.x64.dll</code> to the path of the SonarQube host.</p> <p><code><strong>SONAR_JDBC_URL=jdbc:sqlserver://localhost;databaseName=sonar<br/> </strong></code>Use this connection string if you want to use SQL Auth while connecting to MS SQL Server. Set the <code>SONAR_JDBC_USERNAME</code> and <code>SONAR_JDBC_PASSWORD</code> appropriately.</p> <h3 id="connection-pool-settings" class="css-18d4ktp ewop7ah2"><a title="Connection pool settings" class="css-4ebt6d ewop7ah1" href="/sonarqube/latest/setup-and-upgrade/configure-and-operate-a-server/environment-variables/#connection-pool-settings">Connection pool settings<svg type="h3" height="24" viewbox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" class="css-p7dib0 ewop7ah0"><path d="M8.46588 12.7069C9.59888 13.8399 11.5749 13.8399 12.7079 12.7069L13.4149 11.9999L14.8289 13.4139L14.1219 14.1209C13.1789 15.0649 11.9229 15.5859 10.5869 15.5859C9.25088 15.5859 7.99488 15.0649 7.05188 14.1209L4.92988 11.9999C3.99417 11.0612 3.46875 9.78985 3.46875 8.46444C3.46875 7.13902 3.99417 5.86765 4.92988 4.92894C5.39375 4.4644 5.94484 4.0961 6.55149 3.8452C7.15814 3.59431 7.80839 3.46575 8.46488 3.46693C9.12154 3.46557 9.77199 3.59403 10.3788 3.84493C10.9857 4.09584 11.5369 4.46424 12.0009 4.92894L12.7079 5.63594L11.2939 7.04994L10.5869 6.34294C10.0233 5.78193 9.26055 5.46697 8.46538 5.46697C7.67021 5.46697 6.90741 5.78193 6.34388 6.34294C5.78238 6.90621 5.46708 7.6691 5.46708 8.46444C5.46708 9.25977 5.78238 10.0227 6.34388 10.5859L8.46588 12.7069Z"/><path d="M11.9999 19.0713L11.2929 18.3643L12.7069 16.9503L13.4139 17.6573C13.9774 18.2183 14.7402 18.5332 15.5354 18.5332C16.3305 18.5332 17.0933 18.2183 17.6569 17.6573C18.2184 17.094 18.5337 16.3311 18.5337 15.5357C18.5337 14.7404 18.2184 13.9775 17.6569 13.4142L15.5349 11.2933C14.4019 10.1602 12.4259 10.1602 11.2929 11.2933L10.5859 12.0002L9.17188 10.5863L9.87887 9.87925C10.8219 8.93525 12.0779 8.41425 13.4139 8.41425C14.7499 8.41425 16.0059 8.93525 16.9489 9.87925L19.0709 12.0002C20.0066 12.939 20.532 14.2103 20.532 15.5357C20.532 16.8612 20.0066 18.1325 19.0709 19.0713C18.1324 20.0074 16.861 20.5332 15.5354 20.5332C14.2098 20.5332 12.9383 20.0074 11.9999 19.0713Z"/></svg></a></h3> <p><code><strong>SONAR_JDBC_MAXACTIVE=60<br/> </strong></code>The maximum number of active connections that can be allocated at the same time, or negative for no limit. The recommended value is 1.2 * max sizes of HTTP pools. For example, if HTTP ports are enabled with default sizes (50, see property <code>sonar.web.http.maxThreads</code>) then <code>SONAR_JDBC_MAXACTIVE</code> should be 1.2 * 50 = 60.</p> <p><code><strong>SONAR_JDBC_MAXIDLE=5<br/> </strong></code>The maximum number of connections that can remain idle in the pool, without extra ones being released, or negative for no limit.</p> <p><code><strong>SONAR_JDBC_MINIDLE=2<br/> </strong></code>The minimum number of connections that can remain idle in the pool, without extra ones being created, or zero to create none.</p> <p><code><strong>SONAR_JDBC_MAXWAIT=5000<br/> </strong></code>The maximum number of milliseconds that the pool will wait (when there are no available connections) for a connection to be returned before throwing an exception, or <= 0 to wait indefinitely.</p> <h2 id="web-server" class="css-18d4ktp ewop7ah2"><a title="Web server" class="css-4ebt6d ewop7ah1" href="/sonarqube/latest/setup-and-upgrade/configure-and-operate-a-server/environment-variables/#web-server">Web server<svg type="h2" height="24" viewbox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" class="css-abpesc ewop7ah0"><path d="M8.46588 12.7069C9.59888 13.8399 11.5749 13.8399 12.7079 12.7069L13.4149 11.9999L14.8289 13.4139L14.1219 14.1209C13.1789 15.0649 11.9229 15.5859 10.5869 15.5859C9.25088 15.5859 7.99488 15.0649 7.05188 14.1209L4.92988 11.9999C3.99417 11.0612 3.46875 9.78985 3.46875 8.46444C3.46875 7.13902 3.99417 5.86765 4.92988 4.92894C5.39375 4.4644 5.94484 4.0961 6.55149 3.8452C7.15814 3.59431 7.80839 3.46575 8.46488 3.46693C9.12154 3.46557 9.77199 3.59403 10.3788 3.84493C10.9857 4.09584 11.5369 4.46424 12.0009 4.92894L12.7079 5.63594L11.2939 7.04994L10.5869 6.34294C10.0233 5.78193 9.26055 5.46697 8.46538 5.46697C7.67021 5.46697 6.90741 5.78193 6.34388 6.34294C5.78238 6.90621 5.46708 7.6691 5.46708 8.46444C5.46708 9.25977 5.78238 10.0227 6.34388 10.5859L8.46588 12.7069Z"/><path d="M11.9999 19.0713L11.2929 18.3643L12.7069 16.9503L13.4139 17.6573C13.9774 18.2183 14.7402 18.5332 15.5354 18.5332C16.3305 18.5332 17.0933 18.2183 17.6569 17.6573C18.2184 17.094 18.5337 16.3311 18.5337 15.5357C18.5337 14.7404 18.2184 13.9775 17.6569 13.4142L15.5349 11.2933C14.4019 10.1602 12.4259 10.1602 11.2929 11.2933L10.5859 12.0002L9.17188 10.5863L9.87887 9.87925C10.8219 8.93525 12.0779 8.41425 13.4139 8.41425C14.7499 8.41425 16.0059 8.93525 16.9489 9.87925L19.0709 12.0002C20.0066 12.939 20.532 14.2103 20.532 15.5357C20.532 16.8612 20.0066 18.1325 19.0709 19.0713C18.1324 20.0074 16.861 20.5332 15.5354 20.5332C14.2098 20.5332 12.9383 20.0074 11.9999 19.0713Z"/></svg></a></h2> <p><code><strong>SONAR_WEB_JAVAOPTS=<br/> </strong></code>The web server is executed in a dedicated Java process. Use this property to customize JVM options.</p> <div role="alert" class="css-1ibf46l e16d48ue1"><div class="css-n3zwgj e16d48ue0"><p>The HotSpot Server VM is recommended. The property -server should be added if server mode is not enabled by default on your environment. See <a href="http://docs.oracle.com/javase/8/docs/technotes/guides/vm/server-class.html" class="external-link" target="_blank" rel="noopener" title="here"><strong>here</strong><svg width="16" height="16" viewbox="0 0 16 16" xmlns="http://www.w3.org/2000/svg" class="css-bb4kds e1qcma9n0"><path d="M9.5 0.75C9.5 1.16562 9.83438 1.5 10.25 1.5H13.4406L6.46875 8.46875C6.175 8.7625 6.175 9.2375 6.46875 9.52812C6.7625 9.81875 7.2375 9.82187 7.52812 9.52812L14.4969 2.55938V5.75C14.4969 6.16563 14.8313 6.5 15.2469 6.5C15.6625 6.5 15.9969 6.16563 15.9969 5.75V0.75C15.9969 0.334375 15.6625 0 15.2469 0H10.25C9.83438 0 9.5 0.334375 9.5 0.75ZM2.25 1C1.00625 1 0 2.00625 0 3.25V13.75C0 14.9937 1.00625 16 2.25 16H12.75C13.9937 16 15 14.9937 15 13.75V9.75C15 9.33438 14.6656 9 14.25 9C13.8344 9 13.5 9.33438 13.5 9.75V13.75C13.5 14.1656 13.1656 14.5 12.75 14.5H2.25C1.83438 14.5 1.5 14.1656 1.5 13.75V3.25C1.5 2.83437 1.83438 2.5 2.25 2.5H6.25C6.66563 2.5 7 2.16563 7 1.75C7 1.33438 6.66563 1 6.25 1H2.25Z"/></svg></a>.</p> <p>Startup can be long if the entropy source is short of entropy. Adding -Djava.security.egd=file:/dev/./urandom is an option to resolve the problem. See <a href="https://cwiki.apache.org/confluence/display/TOMCAT/HowTo+FasterStartUp#HowToFasterStartUp-EntropySource" class="external-link" target="_blank" rel="noopener" title="here"><strong>here</strong><svg width="16" height="16" viewbox="0 0 16 16" xmlns="http://www.w3.org/2000/svg" class="css-bb4kds e1qcma9n0"><path d="M9.5 0.75C9.5 1.16562 9.83438 1.5 10.25 1.5H13.4406L6.46875 8.46875C6.175 8.7625 6.175 9.2375 6.46875 9.52812C6.7625 9.81875 7.2375 9.82187 7.52812 9.52812L14.4969 2.55938V5.75C14.4969 6.16563 14.8313 6.5 15.2469 6.5C15.6625 6.5 15.9969 6.16563 15.9969 5.75V0.75C15.9969 0.334375 15.6625 0 15.2469 0H10.25C9.83438 0 9.5 0.334375 9.5 0.75ZM2.25 1C1.00625 1 0 2.00625 0 3.25V13.75C0 14.9937 1.00625 16 2.25 16H12.75C13.9937 16 15 14.9937 15 13.75V9.75C15 9.33438 14.6656 9 14.25 9C13.8344 9 13.5 9.33438 13.5 9.75V13.75C13.5 14.1656 13.1656 14.5 12.75 14.5H2.25C1.83438 14.5 1.5 14.1656 1.5 13.75V3.25C1.5 2.83437 1.83438 2.5 2.25 2.5H6.25C6.66563 2.5 7 2.16563 7 1.75C7 1.33438 6.66563 1 6.25 1H2.25Z"/></svg></a></p></div></div> <p><code><strong>SONAR_WEB_JAVAADDITIONALOPTS=<br/> </strong></code>Same as previous property, but allows to not repeat all other settings like <code>-Xmx</code></p> <p><code><strong>SONAR_WEB_HOST=0.0.0.0<br/> </strong></code>Binding IP address. For servers with more than one IP address, this property specifies which address will be used for listening on the specified ports. By default, ports will be used on all IP addresses associated with the server.</p> <p><code><strong>SONAR_WEB_CONTEXT=</strong></code> <br/> Web context. When set, it must start with a forward slash (for example /sonarqube). The default value is root context (empty value).</p> <p><code><strong>SONAR_WEB_PORT=9000<br/> </strong></code>TCP port for incoming HTTP connections. Default value is 9000.</p> <p><code><strong>SONAR_WEB_HTTP_MAXTHREADS=50<br/> </strong></code>The maximum number of connections that the server will accept and process at any given time. When this number has been reached, the server will not accept any more connections until the number of connections falls below this value. The operating system may still accept connections based on the <code>SONAR_WEB_CONNECTIONS_ACCEPTCOUNT</code> property. The default value is 50.</p> <p><code><strong>SONAR_WEB_HTTP_MINTHREADS=5<br/> </strong></code>The minimum number of threads always kept running. The default value is 5.</p> <p><code><strong>SONAR_WEB_HTTP_ACCEPTCOUNT=25<br/> </strong></code>The maximum queue length for incoming connection requests when all possible request processing threads are in use. Any requests received when the queue is full will be refused. The default value is 25.</p> <p><code><strong>SONAR_WEB_HTTP_KEEPALIVETIMEOUT=60000<br/> </strong></code>The number of milliseconds this Connector will wait for another HTTP request before closing the connection. Use a value of -1 to indicate no (i.e. infinite) timeout. The default value is 60000 (ms).</p> <p><code><strong>SONAR_AUTH_JWTBASE64HS256SECRET=</strong></code><br/> By default, users are logged out and sessions closed when server is restarted. If you prefer keeping user sessions open, a secret should be defined. Value is HS256 key encoded with base64. It must be unique for each installation of SonarQube. Example of command-line:<br/> <code>echo -n "type</code><code><em>what</em></code><code>you_want" | openssl dgst -sha256 -hmac "key" -binary | base64</code></p> <p><code><strong>SONAR_WEB_SESSIONTIMEOUTINMINUTES=4320</strong></code><br/> The inactivity timeout duration of user sessions, in minutes. After the configured period of time, the user is logged out. The default value is 3 days (4320 minutes). The value cannot be less than 6 minutes or greater than 3 months (129600 minutes). Value must be strictly positive.</p> <p><code><strong>SONAR_WEB_SYSTEMPASSCODE=</strong></code><br/> A passcode can be defined to access some web services from monitoring tools without having to use the credentials of a system administrator. Check the Web API documentation to know which web services are supporting this authentication mode. The passcode should be provided in HTTP requests with the header "X-Sonar-Passcode". By default feature is disabled.</p> <h2 id="sso-authentication" class="css-18d4ktp ewop7ah2"><a title="SSO authentication" class="css-4ebt6d ewop7ah1" href="/sonarqube/latest/setup-and-upgrade/configure-and-operate-a-server/environment-variables/#sso-authentication">SSO authentication<svg type="h2" height="24" viewbox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" class="css-abpesc ewop7ah0"><path d="M8.46588 12.7069C9.59888 13.8399 11.5749 13.8399 12.7079 12.7069L13.4149 11.9999L14.8289 13.4139L14.1219 14.1209C13.1789 15.0649 11.9229 15.5859 10.5869 15.5859C9.25088 15.5859 7.99488 15.0649 7.05188 14.1209L4.92988 11.9999C3.99417 11.0612 3.46875 9.78985 3.46875 8.46444C3.46875 7.13902 3.99417 5.86765 4.92988 4.92894C5.39375 4.4644 5.94484 4.0961 6.55149 3.8452C7.15814 3.59431 7.80839 3.46575 8.46488 3.46693C9.12154 3.46557 9.77199 3.59403 10.3788 3.84493C10.9857 4.09584 11.5369 4.46424 12.0009 4.92894L12.7079 5.63594L11.2939 7.04994L10.5869 6.34294C10.0233 5.78193 9.26055 5.46697 8.46538 5.46697C7.67021 5.46697 6.90741 5.78193 6.34388 6.34294C5.78238 6.90621 5.46708 7.6691 5.46708 8.46444C5.46708 9.25977 5.78238 10.0227 6.34388 10.5859L8.46588 12.7069Z"/><path d="M11.9999 19.0713L11.2929 18.3643L12.7069 16.9503L13.4139 17.6573C13.9774 18.2183 14.7402 18.5332 15.5354 18.5332C16.3305 18.5332 17.0933 18.2183 17.6569 17.6573C18.2184 17.094 18.5337 16.3311 18.5337 15.5357C18.5337 14.7404 18.2184 13.9775 17.6569 13.4142L15.5349 11.2933C14.4019 10.1602 12.4259 10.1602 11.2929 11.2933L10.5859 12.0002L9.17188 10.5863L9.87887 9.87925C10.8219 8.93525 12.0779 8.41425 13.4139 8.41425C14.7499 8.41425 16.0059 8.93525 16.9489 9.87925L19.0709 12.0002C20.0066 12.939 20.532 14.2103 20.532 15.5357C20.532 16.8612 20.0066 18.1325 19.0709 19.0713C18.1324 20.0074 16.861 20.5332 15.5354 20.5332C14.2098 20.5332 12.9383 20.0074 11.9999 19.0713Z"/></svg></a></h2> <p><code><strong>SONAR_WEB_SSO_ENABLE=false</strong></code><br/> Enable authentication using HTTP headers</p> <p><code><strong>SONAR_WEB_SSO_LOGINHEADER=X-Forwarded-Login</strong></code><br/> Name of the header to get the user login. Only alphanumeric, '<code>.</code>' and '<code>@</code>' characters are allowed</p> <p><code><strong>SONAR_WEB_SSO_NAMEHEADER=X-Forwarded-Name</strong></code><br/> Name of the header to get the user name</p> <p><code><strong>SONAR_WEB_SSO_EMAILHEADER=X-Forwarded-Email</strong></code><br/> Name of the header to get the user email (optional)</p> <p><code><strong>SONAR_WEB_SSO_GROUPSHEADER=X-Forwarded-Groups</strong></code><br/> Name of the header to get the list of user groups, separated by comma (optional). If the SONAR<em>SSO</em>GROUPSHEADER is set, the user will belong to those groups if groups exist in SonarQube. If none of the provided groups exists in SonarQube, the user will only belong to the default group. Note that the default group will always be set.</p> <p><code><strong>SONAR_WEB_SSO_REFRESHINTERVALINMINUTES=5</strong></code><br/> Interval used to know when to refresh name, email, and groups. During this interval, if for instance the name of the user is changed in the header, it will only be updated after X minutes.</p> <h2 id="ldap-configuration" class="css-18d4ktp ewop7ah2"><a title="LDAP configuration" class="css-4ebt6d ewop7ah1" href="/sonarqube/latest/setup-and-upgrade/configure-and-operate-a-server/environment-variables/#ldap-configuration">LDAP configuration<svg type="h2" height="24" viewbox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" class="css-abpesc ewop7ah0"><path d="M8.46588 12.7069C9.59888 13.8399 11.5749 13.8399 12.7079 12.7069L13.4149 11.9999L14.8289 13.4139L14.1219 14.1209C13.1789 15.0649 11.9229 15.5859 10.5869 15.5859C9.25088 15.5859 7.99488 15.0649 7.05188 14.1209L4.92988 11.9999C3.99417 11.0612 3.46875 9.78985 3.46875 8.46444C3.46875 7.13902 3.99417 5.86765 4.92988 4.92894C5.39375 4.4644 5.94484 4.0961 6.55149 3.8452C7.15814 3.59431 7.80839 3.46575 8.46488 3.46693C9.12154 3.46557 9.77199 3.59403 10.3788 3.84493C10.9857 4.09584 11.5369 4.46424 12.0009 4.92894L12.7079 5.63594L11.2939 7.04994L10.5869 6.34294C10.0233 5.78193 9.26055 5.46697 8.46538 5.46697C7.67021 5.46697 6.90741 5.78193 6.34388 6.34294C5.78238 6.90621 5.46708 7.6691 5.46708 8.46444C5.46708 9.25977 5.78238 10.0227 6.34388 10.5859L8.46588 12.7069Z"/><path d="M11.9999 19.0713L11.2929 18.3643L12.7069 16.9503L13.4139 17.6573C13.9774 18.2183 14.7402 18.5332 15.5354 18.5332C16.3305 18.5332 17.0933 18.2183 17.6569 17.6573C18.2184 17.094 18.5337 16.3311 18.5337 15.5357C18.5337 14.7404 18.2184 13.9775 17.6569 13.4142L15.5349 11.2933C14.4019 10.1602 12.4259 10.1602 11.2929 11.2933L10.5859 12.0002L9.17188 10.5863L9.87887 9.87925C10.8219 8.93525 12.0779 8.41425 13.4139 8.41425C14.7499 8.41425 16.0059 8.93525 16.9489 9.87925L19.0709 12.0002C20.0066 12.939 20.532 14.2103 20.532 15.5357C20.532 16.8612 20.0066 18.1325 19.0709 19.0713C18.1324 20.0074 16.861 20.5332 15.5354 20.5332C14.2098 20.5332 12.9383 20.0074 11.9999 19.0713Z"/></svg></a></h2> <p><code><strong>SONAR_SECURITY_REALM=LDAP</strong></code><br/> Enable the LDAP feature</p> <p><code><strong>SONAR_AUTHENTICATOR_DOWNCASE=true</strong></code><br/> Set to true when connecting to an LDAP server using a case-insensitive setup.</p> <p><code><strong>LDAP_URL=ldap://localhost:10389</strong></code><br/> URL of the LDAP server. Note that if you are using LDAPS, then you should install the server certificate into the Java truststore.</p> <p><code><strong>LDAP_BINDDN=cn=sonar,ou=users,o=mycompany</strong></code><br/> Bind DN is the username of an LDAP user to connect (or bind) with. Leave this blank for anonymous access to the LDAP directory (optional)</p> <p><code><strong>LDAP_BINDPASSWORD=secret</strong></code><br/> Bind Password is the password of the user to connect with. Leave this blank for anonymous access to the LDAP directory (optional)</p> <p><code><strong>LDAP_AUTHENTICATION=simple</strong></code><br/> Possible values: <code>simple | CRAM-MD5 | DIGEST-MD5 | GSSAPI </code>See <a href="http://java.sun.com/products/jndi/tutorial/ldap/security/auth.html" class="external-link" target="_blank" rel="noopener" title="http://java.sun.com/products/jndi/tutorial/ldap/security/auth.html">http://java.sun.com/products/jndi/tutorial/ldap/security/auth.html<svg width="16" height="16" viewbox="0 0 16 16" xmlns="http://www.w3.org/2000/svg" class="css-bb4kds e1qcma9n0"><path d="M9.5 0.75C9.5 1.16562 9.83438 1.5 10.25 1.5H13.4406L6.46875 8.46875C6.175 8.7625 6.175 9.2375 6.46875 9.52812C6.7625 9.81875 7.2375 9.82187 7.52812 9.52812L14.4969 2.55938V5.75C14.4969 6.16563 14.8313 6.5 15.2469 6.5C15.6625 6.5 15.9969 6.16563 15.9969 5.75V0.75C15.9969 0.334375 15.6625 0 15.2469 0H10.25C9.83438 0 9.5 0.334375 9.5 0.75ZM2.25 1C1.00625 1 0 2.00625 0 3.25V13.75C0 14.9937 1.00625 16 2.25 16H12.75C13.9937 16 15 14.9937 15 13.75V9.75C15 9.33438 14.6656 9 14.25 9C13.8344 9 13.5 9.33438 13.5 9.75V13.75C13.5 14.1656 13.1656 14.5 12.75 14.5H2.25C1.83438 14.5 1.5 14.1656 1.5 13.75V3.25C1.5 2.83437 1.83438 2.5 2.25 2.5H6.25C6.66563 2.5 7 2.16563 7 1.75C7 1.33438 6.66563 1 6.25 1H2.25Z"/></svg></a> (default: <code>simple</code>)</p> <p><code><strong>LDAP_REALM=example.org</strong></code><br/> See :</p> <li><a href="http://java.sun.com/products/jndi/tutorial/ldap/security/digest.html" class="external-link" target="_blank" rel="noopener" title="http://java.sun.com/products/jndi/tutorial/ldap/security/digest.html">http://java.sun.com/products/jndi/tutorial/ldap/security/digest.html<svg width="16" height="16" viewbox="0 0 16 16" xmlns="http://www.w3.org/2000/svg" class="css-bb4kds e1qcma9n0"><path d="M9.5 0.75C9.5 1.16562 9.83438 1.5 10.25 1.5H13.4406L6.46875 8.46875C6.175 8.7625 6.175 9.2375 6.46875 9.52812C6.7625 9.81875 7.2375 9.82187 7.52812 9.52812L14.4969 2.55938V5.75C14.4969 6.16563 14.8313 6.5 15.2469 6.5C15.6625 6.5 15.9969 6.16563 15.9969 5.75V0.75C15.9969 0.334375 15.6625 0 15.2469 0H10.25C9.83438 0 9.5 0.334375 9.5 0.75ZM2.25 1C1.00625 1 0 2.00625 0 3.25V13.75C0 14.9937 1.00625 16 2.25 16H12.75C13.9937 16 15 14.9937 15 13.75V9.75C15 9.33438 14.6656 9 14.25 9C13.8344 9 13.5 9.33438 13.5 9.75V13.75C13.5 14.1656 13.1656 14.5 12.75 14.5H2.25C1.83438 14.5 1.5 14.1656 1.5 13.75V3.25C1.5 2.83437 1.83438 2.5 2.25 2.5H6.25C6.66563 2.5 7 2.16563 7 1.75C7 1.33438 6.66563 1 6.25 1H2.25Z"/></svg></a></li> <li><a href="http://java.sun.com/products/jndi/tutorial/ldap/security/crammd5.html" class="external-link" target="_blank" rel="noopener" title="http://java.sun.com/products/jndi/tutorial/ldap/security/crammd5.html">http://java.sun.com/products/jndi/tutorial/ldap/security/crammd5.html<svg width="16" height="16" viewbox="0 0 16 16" xmlns="http://www.w3.org/2000/svg" class="css-bb4kds e1qcma9n0"><path d="M9.5 0.75C9.5 1.16562 9.83438 1.5 10.25 1.5H13.4406L6.46875 8.46875C6.175 8.7625 6.175 9.2375 6.46875 9.52812C6.7625 9.81875 7.2375 9.82187 7.52812 9.52812L14.4969 2.55938V5.75C14.4969 6.16563 14.8313 6.5 15.2469 6.5C15.6625 6.5 15.9969 6.16563 15.9969 5.75V0.75C15.9969 0.334375 15.6625 0 15.2469 0H10.25C9.83438 0 9.5 0.334375 9.5 0.75ZM2.25 1C1.00625 1 0 2.00625 0 3.25V13.75C0 14.9937 1.00625 16 2.25 16H12.75C13.9937 16 15 14.9937 15 13.75V9.75C15 9.33438 14.6656 9 14.25 9C13.8344 9 13.5 9.33438 13.5 9.75V13.75C13.5 14.1656 13.1656 14.5 12.75 14.5H2.25C1.83438 14.5 1.5 14.1656 1.5 13.75V3.25C1.5 2.83437 1.83438 2.5 2.25 2.5H6.25C6.66563 2.5 7 2.16563 7 1.75C7 1.33438 6.66563 1 6.25 1H2.25Z"/></svg></a> (optional)</li> <p><code><strong>LDAP_CONTEXTFACTORYCLASS=com.sun.jndi.ldap.LdapCtxFactory</strong></code><br/> Context factory class (optional)</p> <p><code><strong>LDAP_STARTTLS=true</strong></code><br/> Enable usage of StartTLS (default : <code>false</code>)</p> <p><code><strong>LDAP_FOLLOWREFERRALS=false</strong></code> Follow or not referrals. See <a href="http://docs.oracle.com/javase/jndi/tutorial/ldap/referral/jndi.html" class="external-link" target="_blank" rel="noopener" title="http://docs.oracle.com/javase/jndi/tutorial/ldap/referral/jndi.html">http://docs.oracle.com/javase/jndi/tutorial/ldap/referral/jndi.html<svg width="16" height="16" viewbox="0 0 16 16" xmlns="http://www.w3.org/2000/svg" class="css-bb4kds e1qcma9n0"><path d="M9.5 0.75C9.5 1.16562 9.83438 1.5 10.25 1.5H13.4406L6.46875 8.46875C6.175 8.7625 6.175 9.2375 6.46875 9.52812C6.7625 9.81875 7.2375 9.82187 7.52812 9.52812L14.4969 2.55938V5.75C14.4969 6.16563 14.8313 6.5 15.2469 6.5C15.6625 6.5 15.9969 6.16563 15.9969 5.75V0.75C15.9969 0.334375 15.6625 0 15.2469 0H10.25C9.83438 0 9.5 0.334375 9.5 0.75ZM2.25 1C1.00625 1 0 2.00625 0 3.25V13.75C0 14.9937 1.00625 16 2.25 16H12.75C13.9937 16 15 14.9937 15 13.75V9.75C15 9.33438 14.6656 9 14.25 9C13.8344 9 13.5 9.33438 13.5 9.75V13.75C13.5 14.1656 13.1656 14.5 12.75 14.5H2.25C1.83438 14.5 1.5 14.1656 1.5 13.75V3.25C1.5 2.83437 1.83438 2.5 2.25 2.5H6.25C6.66563 2.5 7 2.16563 7 1.75C7 1.33438 6.66563 1 6.25 1H2.25Z"/></svg></a> (default: <code>true</code>)</p> <h3 id="anchor-mapping" class="css-18d4ktp ewop7ah2"><a title="Anchor mapping" class="css-4ebt6d ewop7ah1" href="/sonarqube/latest/setup-and-upgrade/configure-and-operate-a-server/environment-variables/#anchor-mapping">Anchor mapping<svg type="h3" height="24" viewbox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" class="css-p7dib0 ewop7ah0"><path d="M8.46588 12.7069C9.59888 13.8399 11.5749 13.8399 12.7079 12.7069L13.4149 11.9999L14.8289 13.4139L14.1219 14.1209C13.1789 15.0649 11.9229 15.5859 10.5869 15.5859C9.25088 15.5859 7.99488 15.0649 7.05188 14.1209L4.92988 11.9999C3.99417 11.0612 3.46875 9.78985 3.46875 8.46444C3.46875 7.13902 3.99417 5.86765 4.92988 4.92894C5.39375 4.4644 5.94484 4.0961 6.55149 3.8452C7.15814 3.59431 7.80839 3.46575 8.46488 3.46693C9.12154 3.46557 9.77199 3.59403 10.3788 3.84493C10.9857 4.09584 11.5369 4.46424 12.0009 4.92894L12.7079 5.63594L11.2939 7.04994L10.5869 6.34294C10.0233 5.78193 9.26055 5.46697 8.46538 5.46697C7.67021 5.46697 6.90741 5.78193 6.34388 6.34294C5.78238 6.90621 5.46708 7.6691 5.46708 8.46444C5.46708 9.25977 5.78238 10.0227 6.34388 10.5859L8.46588 12.7069Z"/><path d="M11.9999 19.0713L11.2929 18.3643L12.7069 16.9503L13.4139 17.6573C13.9774 18.2183 14.7402 18.5332 15.5354 18.5332C16.3305 18.5332 17.0933 18.2183 17.6569 17.6573C18.2184 17.094 18.5337 16.3311 18.5337 15.5357C18.5337 14.7404 18.2184 13.9775 17.6569 13.4142L15.5349 11.2933C14.4019 10.1602 12.4259 10.1602 11.2929 11.2933L10.5859 12.0002L9.17188 10.5863L9.87887 9.87925C10.8219 8.93525 12.0779 8.41425 13.4139 8.41425C14.7499 8.41425 16.0059 8.93525 16.9489 9.87925L19.0709 12.0002C20.0066 12.939 20.532 14.2103 20.532 15.5357C20.532 16.8612 20.0066 18.1325 19.0709 19.0713C18.1324 20.0074 16.861 20.5332 15.5354 20.5332C14.2098 20.5332 12.9383 20.0074 11.9999 19.0713Z"/></svg></a></h3> <p><code><strong>LDAP_USER_BASEDN=cn=users,dc=example,dc=org</strong></code><br/> Distinguished Name (DN) of the root node in LDAP from which to search for users (mandatory)</p> <p><code><strong>LDAP_USER_REQUEST=(&(objectClass=user)(sAMAccountName={login}))</strong></code><br/> LDAP user request. (default: <code>(&(objectClass=inetOrgPerson)(uid={login}))</code> )</p> <p><code><strong>LDAP_USER_REALNAMEATTRIBUTE=name</strong></code> Attribute in LDAP defining the user’s real name. (default: <code>cn</code>)</p> <p><code><strong>LDAP_USER_EMAILATTRIBUTE=email</strong></code><br/> Attribute in LDAP defining the user’s email. (default: <code>mail</code>)</p> <h3 id="group-mapping" class="css-18d4ktp ewop7ah2"><a title="Group mapping" class="css-4ebt6d ewop7ah1" href="/sonarqube/latest/setup-and-upgrade/configure-and-operate-a-server/environment-variables/#group-mapping">Group mapping<svg type="h3" height="24" viewbox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" class="css-p7dib0 ewop7ah0"><path d="M8.46588 12.7069C9.59888 13.8399 11.5749 13.8399 12.7079 12.7069L13.4149 11.9999L14.8289 13.4139L14.1219 14.1209C13.1789 15.0649 11.9229 15.5859 10.5869 15.5859C9.25088 15.5859 7.99488 15.0649 7.05188 14.1209L4.92988 11.9999C3.99417 11.0612 3.46875 9.78985 3.46875 8.46444C3.46875 7.13902 3.99417 5.86765 4.92988 4.92894C5.39375 4.4644 5.94484 4.0961 6.55149 3.8452C7.15814 3.59431 7.80839 3.46575 8.46488 3.46693C9.12154 3.46557 9.77199 3.59403 10.3788 3.84493C10.9857 4.09584 11.5369 4.46424 12.0009 4.92894L12.7079 5.63594L11.2939 7.04994L10.5869 6.34294C10.0233 5.78193 9.26055 5.46697 8.46538 5.46697C7.67021 5.46697 6.90741 5.78193 6.34388 6.34294C5.78238 6.90621 5.46708 7.6691 5.46708 8.46444C5.46708 9.25977 5.78238 10.0227 6.34388 10.5859L8.46588 12.7069Z"/><path d="M11.9999 19.0713L11.2929 18.3643L12.7069 16.9503L13.4139 17.6573C13.9774 18.2183 14.7402 18.5332 15.5354 18.5332C16.3305 18.5332 17.0933 18.2183 17.6569 17.6573C18.2184 17.094 18.5337 16.3311 18.5337 15.5357C18.5337 14.7404 18.2184 13.9775 17.6569 13.4142L15.5349 11.2933C14.4019 10.1602 12.4259 10.1602 11.2929 11.2933L10.5859 12.0002L9.17188 10.5863L9.87887 9.87925C10.8219 8.93525 12.0779 8.41425 13.4139 8.41425C14.7499 8.41425 16.0059 8.93525 16.9489 9.87925L19.0709 12.0002C20.0066 12.939 20.532 14.2103 20.532 15.5357C20.532 16.8612 20.0066 18.1325 19.0709 19.0713C18.1324 20.0074 16.861 20.5332 15.5354 20.5332C14.2098 20.5332 12.9383 20.0074 11.9999 19.0713Z"/></svg></a></h3> <p><code><strong>LDAP_GROUP_BASEDN=cn=groups,dc=example,dc=org</strong></code><br/> Distinguished Name (DN) of the root node in LDAP from which to search for groups. (optional, default: empty)</p> <p><code><strong>LDAP_GROUP_REQUEST=(&(objectClass=group)(member={dn}))</strong></code><br/> LDAP group request (default: <code>(&(objectClass=groupOfUniqueNames)(uniqueMember={dn}))</code> )</p> <p><code><strong>LDAP_GROUP_IDATTRIBUTE=sAMAccountName</strong></code><br/> Property used to specifiy the attribute to be used for returning the list of user groups in the compatibility mode. (default: <code>cn</code>)</p> <h2 id="compute-engine" class="css-18d4ktp ewop7ah2"><a title="Compute engine" class="css-4ebt6d ewop7ah1" href="/sonarqube/latest/setup-and-upgrade/configure-and-operate-a-server/environment-variables/#compute-engine">Compute engine<svg type="h2" height="24" viewbox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" class="css-abpesc ewop7ah0"><path d="M8.46588 12.7069C9.59888 13.8399 11.5749 13.8399 12.7079 12.7069L13.4149 11.9999L14.8289 13.4139L14.1219 14.1209C13.1789 15.0649 11.9229 15.5859 10.5869 15.5859C9.25088 15.5859 7.99488 15.0649 7.05188 14.1209L4.92988 11.9999C3.99417 11.0612 3.46875 9.78985 3.46875 8.46444C3.46875 7.13902 3.99417 5.86765 4.92988 4.92894C5.39375 4.4644 5.94484 4.0961 6.55149 3.8452C7.15814 3.59431 7.80839 3.46575 8.46488 3.46693C9.12154 3.46557 9.77199 3.59403 10.3788 3.84493C10.9857 4.09584 11.5369 4.46424 12.0009 4.92894L12.7079 5.63594L11.2939 7.04994L10.5869 6.34294C10.0233 5.78193 9.26055 5.46697 8.46538 5.46697C7.67021 5.46697 6.90741 5.78193 6.34388 6.34294C5.78238 6.90621 5.46708 7.6691 5.46708 8.46444C5.46708 9.25977 5.78238 10.0227 6.34388 10.5859L8.46588 12.7069Z"/><path d="M11.9999 19.0713L11.2929 18.3643L12.7069 16.9503L13.4139 17.6573C13.9774 18.2183 14.7402 18.5332 15.5354 18.5332C16.3305 18.5332 17.0933 18.2183 17.6569 17.6573C18.2184 17.094 18.5337 16.3311 18.5337 15.5357C18.5337 14.7404 18.2184 13.9775 17.6569 13.4142L15.5349 11.2933C14.4019 10.1602 12.4259 10.1602 11.2929 11.2933L10.5859 12.0002L9.17188 10.5863L9.87887 9.87925C10.8219 8.93525 12.0779 8.41425 13.4139 8.41425C14.7499 8.41425 16.0059 8.93525 16.9489 9.87925L19.0709 12.0002C20.0066 12.939 20.532 14.2103 20.532 15.5357C20.532 16.8612 20.0066 18.1325 19.0709 19.0713C18.1324 20.0074 16.861 20.5332 15.5354 20.5332C14.2098 20.5332 12.9383 20.0074 11.9999 19.0713Z"/></svg></a></h2> <p><code><strong>SONAR_CE_JAVAOPTS=<br/> </strong></code>The Compute Engine is responsible for processing background tasks.<br/> Compute Engine is executed in a dedicated Java process.<br/> Use the following property to customize JVM options.</p> <div role="alert" class="css-1ibf46l e16d48ue1"><div class="css-n3zwgj e16d48ue0"><p>The HotSpot Server VM is recommended. The property -server should be added if server mode is not enabled by default on your environment: <a href="http://docs.oracle.com/javase/8/docs/technotes/guides/vm/server-class.html" class="external-link" target="_blank" rel="noopener" title="http://docs.oracle.com/javase/8/docs/technotes/guides/vm/server-class.html">http://docs.oracle.com/javase/8/docs/technotes/guides/vm/server-class.html<svg width="16" height="16" viewbox="0 0 16 16" xmlns="http://www.w3.org/2000/svg" class="css-bb4kds e1qcma9n0"><path d="M9.5 0.75C9.5 1.16562 9.83438 1.5 10.25 1.5H13.4406L6.46875 8.46875C6.175 8.7625 6.175 9.2375 6.46875 9.52812C6.7625 9.81875 7.2375 9.82187 7.52812 9.52812L14.4969 2.55938V5.75C14.4969 6.16563 14.8313 6.5 15.2469 6.5C15.6625 6.5 15.9969 6.16563 15.9969 5.75V0.75C15.9969 0.334375 15.6625 0 15.2469 0H10.25C9.83438 0 9.5 0.334375 9.5 0.75ZM2.25 1C1.00625 1 0 2.00625 0 3.25V13.75C0 14.9937 1.00625 16 2.25 16H12.75C13.9937 16 15 14.9937 15 13.75V9.75C15 9.33438 14.6656 9 14.25 9C13.8344 9 13.5 9.33438 13.5 9.75V13.75C13.5 14.1656 13.1656 14.5 12.75 14.5H2.25C1.83438 14.5 1.5 14.1656 1.5 13.75V3.25C1.5 2.83437 1.83438 2.5 2.25 2.5H6.25C6.66563 2.5 7 2.16563 7 1.75C7 1.33438 6.66563 1 6.25 1H2.25Z"/></svg></a></p></div></div> <p><code><strong>SONAR_CE_JAVAADDITIONALOPTS=<br/> </strong></code>Same as previous property, but allows to not repeat all other settings like -Xmx</p> <h2 id="elasticsearch" class="css-18d4ktp ewop7ah2"><a title="Elasticsearch" class="css-4ebt6d ewop7ah1" href="/sonarqube/latest/setup-and-upgrade/configure-and-operate-a-server/environment-variables/#elasticsearch">Elasticsearch<svg type="h2" height="24" viewbox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" class="css-abpesc ewop7ah0"><path d="M8.46588 12.7069C9.59888 13.8399 11.5749 13.8399 12.7079 12.7069L13.4149 11.9999L14.8289 13.4139L14.1219 14.1209C13.1789 15.0649 11.9229 15.5859 10.5869 15.5859C9.25088 15.5859 7.99488 15.0649 7.05188 14.1209L4.92988 11.9999C3.99417 11.0612 3.46875 9.78985 3.46875 8.46444C3.46875 7.13902 3.99417 5.86765 4.92988 4.92894C5.39375 4.4644 5.94484 4.0961 6.55149 3.8452C7.15814 3.59431 7.80839 3.46575 8.46488 3.46693C9.12154 3.46557 9.77199 3.59403 10.3788 3.84493C10.9857 4.09584 11.5369 4.46424 12.0009 4.92894L12.7079 5.63594L11.2939 7.04994L10.5869 6.34294C10.0233 5.78193 9.26055 5.46697 8.46538 5.46697C7.67021 5.46697 6.90741 5.78193 6.34388 6.34294C5.78238 6.90621 5.46708 7.6691 5.46708 8.46444C5.46708 9.25977 5.78238 10.0227 6.34388 10.5859L8.46588 12.7069Z"/><path d="M11.9999 19.0713L11.2929 18.3643L12.7069 16.9503L13.4139 17.6573C13.9774 18.2183 14.7402 18.5332 15.5354 18.5332C16.3305 18.5332 17.0933 18.2183 17.6569 17.6573C18.2184 17.094 18.5337 16.3311 18.5337 15.5357C18.5337 14.7404 18.2184 13.9775 17.6569 13.4142L15.5349 11.2933C14.4019 10.1602 12.4259 10.1602 11.2929 11.2933L10.5859 12.0002L9.17188 10.5863L9.87887 9.87925C10.8219 8.93525 12.0779 8.41425 13.4139 8.41425C14.7499 8.41425 16.0059 8.93525 16.9489 9.87925L19.0709 12.0002C20.0066 12.939 20.532 14.2103 20.532 15.5357C20.532 16.8612 20.0066 18.1325 19.0709 19.0713C18.1324 20.0074 16.861 20.5332 15.5354 20.5332C14.2098 20.5332 12.9383 20.0074 11.9999 19.0713Z"/></svg></a></h2> <p>Elasticsearch is used to facilitate fast and accurate information retrieval. It is executed in a dedicated Java process.</p> <style data-emotion="css 1gsvwg">.css-1gsvwg{border-width:1px;border-style:solid;margin-bottom:2rem;padding-left:6rem;padding-right:1.5rem;padding-top:1.5rem;position:relative;--tw-bg-opacity:1;background-color:rgb(255 250 231 / var(--tw-bg-opacity));--tw-border-opacity:1;border-color:rgb(237 184 0 / var(--tw-border-opacity));}.css-1gsvwg::before{content:var(--tw-content);left:17px;top:19px;}.css-1gsvwg::before{content:var(--tw-content);height:28px;width:28px;background-repeat:no-repeat;-webkit-background-size:28px;background-size:28px;}.css-1gsvwg::before{content:var(--tw-content);background-image:url('/images/warning.svg');}</style><div role="alert" class="css-1gsvwg e16d48ue1"><div class="css-n3zwgj e16d48ue0"><p>Linux users on 64-bit systems, ensure Virtual Memory on your system is correctly configured for Elasticsearch to run properly (see <a href="https://www.elastic.co/guide/en/elasticsearch/reference/5.5/vm-max-map-count.html" class="external-link" target="_blank" rel="noopener" title="here">here<svg width="16" height="16" viewbox="0 0 16 16" xmlns="http://www.w3.org/2000/svg" class="css-bb4kds e1qcma9n0"><path d="M9.5 0.75C9.5 1.16562 9.83438 1.5 10.25 1.5H13.4406L6.46875 8.46875C6.175 8.7625 6.175 9.2375 6.46875 9.52812C6.7625 9.81875 7.2375 9.82187 7.52812 9.52812L14.4969 2.55938V5.75C14.4969 6.16563 14.8313 6.5 15.2469 6.5C15.6625 6.5 15.9969 6.16563 15.9969 5.75V0.75C15.9969 0.334375 15.6625 0 15.2469 0H10.25C9.83438 0 9.5 0.334375 9.5 0.75ZM2.25 1C1.00625 1 0 2.00625 0 3.25V13.75C0 14.9937 1.00625 16 2.25 16H12.75C13.9937 16 15 14.9937 15 13.75V9.75C15 9.33438 14.6656 9 14.25 9C13.8344 9 13.5 9.33438 13.5 9.75V13.75C13.5 14.1656 13.1656 14.5 12.75 14.5H2.25C1.83438 14.5 1.5 14.1656 1.5 13.75V3.25C1.5 2.83437 1.83438 2.5 2.25 2.5H6.25C6.66563 2.5 7 2.16563 7 1.75C7 1.33438 6.66563 1 6.25 1H2.25Z"/></svg></a> for details).</p> <p>When SonarQube runs standalone, a warning such as the following may appear in <code>logs/es.log</code>: "<code>max virtual memory areas vm.maxmapcount [65530] is too low, increase to at least [262144]</code>"</p> <p>When SonarQube runs as a cluster, however, Elasticsearch will refuse to start.</p></div></div> <p><code><strong>SONAR_SEARCH_JAVAOPTS=</strong></code><br/> JVM options of Elasticsearch process</p> <p><code><strong>SONAR_SEARCH_JAVAADDITIONALOPTS=</strong></code><br/> Same as previous property, but allows to not repeat all other settings like -Xmx</p> <p><code><strong>SONAR_SEARCH_PORT=9001</strong></code><br/> Elasticsearch port. Default is 9001. Use 0 to get a free port. As a security precaution, should be blocked by a firewall and not exposed to the Internet.</p> <p><code><strong>SONAR_SEARCH_HOST=</strong></code><br/> Elasticsearch host. The search server will bind this address and the search client will connect to it. Default is loopback address. As a security precaution, should NOT be set to a publicly available address.</p> <h2 id="update-center" class="css-18d4ktp ewop7ah2"><a title="Update center" class="css-4ebt6d ewop7ah1" href="/sonarqube/latest/setup-and-upgrade/configure-and-operate-a-server/environment-variables/#update-center">Update center<svg type="h2" height="24" viewbox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" class="css-abpesc ewop7ah0"><path d="M8.46588 12.7069C9.59888 13.8399 11.5749 13.8399 12.7079 12.7069L13.4149 11.9999L14.8289 13.4139L14.1219 14.1209C13.1789 15.0649 11.9229 15.5859 10.5869 15.5859C9.25088 15.5859 7.99488 15.0649 7.05188 14.1209L4.92988 11.9999C3.99417 11.0612 3.46875 9.78985 3.46875 8.46444C3.46875 7.13902 3.99417 5.86765 4.92988 4.92894C5.39375 4.4644 5.94484 4.0961 6.55149 3.8452C7.15814 3.59431 7.80839 3.46575 8.46488 3.46693C9.12154 3.46557 9.77199 3.59403 10.3788 3.84493C10.9857 4.09584 11.5369 4.46424 12.0009 4.92894L12.7079 5.63594L11.2939 7.04994L10.5869 6.34294C10.0233 5.78193 9.26055 5.46697 8.46538 5.46697C7.67021 5.46697 6.90741 5.78193 6.34388 6.34294C5.78238 6.90621 5.46708 7.6691 5.46708 8.46444C5.46708 9.25977 5.78238 10.0227 6.34388 10.5859L8.46588 12.7069Z"/><path d="M11.9999 19.0713L11.2929 18.3643L12.7069 16.9503L13.4139 17.6573C13.9774 18.2183 14.7402 18.5332 15.5354 18.5332C16.3305 18.5332 17.0933 18.2183 17.6569 17.6573C18.2184 17.094 18.5337 16.3311 18.5337 15.5357C18.5337 14.7404 18.2184 13.9775 17.6569 13.4142L15.5349 11.2933C14.4019 10.1602 12.4259 10.1602 11.2929 11.2933L10.5859 12.0002L9.17188 10.5863L9.87887 9.87925C10.8219 8.93525 12.0779 8.41425 13.4139 8.41425C14.7499 8.41425 16.0059 8.93525 16.9489 9.87925L19.0709 12.0002C20.0066 12.939 20.532 14.2103 20.532 15.5357C20.532 16.8612 20.0066 18.1325 19.0709 19.0713C18.1324 20.0074 16.861 20.5332 15.5354 20.5332C14.2098 20.5332 12.9383 20.0074 11.9999 19.0713Z"/></svg></a></h2> <p><code><strong>SONAR_UPDATECENTER_ACTIVATE=true</strong></code><br/> Update Center requires an internet connection to request <a href="https://downloads.sonarsource.com/?prefix=sonarqube/update" class="external-link" target="_blank" rel="noopener" title="https://downloads.sonarsource.com/?prefix=sonarqube/update">https://downloads.sonarsource.com/?prefix=sonarqube/update<svg width="16" height="16" viewbox="0 0 16 16" xmlns="http://www.w3.org/2000/svg" class="css-bb4kds e1qcma9n0"><path d="M9.5 0.75C9.5 1.16562 9.83438 1.5 10.25 1.5H13.4406L6.46875 8.46875C6.175 8.7625 6.175 9.2375 6.46875 9.52812C6.7625 9.81875 7.2375 9.82187 7.52812 9.52812L14.4969 2.55938V5.75C14.4969 6.16563 14.8313 6.5 15.2469 6.5C15.6625 6.5 15.9969 6.16563 15.9969 5.75V0.75C15.9969 0.334375 15.6625 0 15.2469 0H10.25C9.83438 0 9.5 0.334375 9.5 0.75ZM2.25 1C1.00625 1 0 2.00625 0 3.25V13.75C0 14.9937 1.00625 16 2.25 16H12.75C13.9937 16 15 14.9937 15 13.75V9.75C15 9.33438 14.6656 9 14.25 9C13.8344 9 13.5 9.33438 13.5 9.75V13.75C13.5 14.1656 13.1656 14.5 12.75 14.5H2.25C1.83438 14.5 1.5 14.1656 1.5 13.75V3.25C1.5 2.83437 1.83438 2.5 2.25 2.5H6.25C6.66563 2.5 7 2.16563 7 1.75C7 1.33438 6.66563 1 6.25 1H2.25Z"/></svg></a> It is enabled by default.</p> <p><code><strong>HTTP_PROXYHOST=</strong></code><br/> <code><strong>HTTP_PROXYPORT=</strong></code><br/> HTTP proxy (default none)</p> <p><code><strong>HTTPS_PROXYHOST=</strong></code><br/> <code><strong>HTTPS_PROXYPORT=</strong></code><br/> HTTPS proxy (defaults are values of HTTP<em>PROXYHOST and HTTP</em>PROXYPORT)</p> <p><code><strong>HTTP_AUTH_NTLM_DOMAIN=</strong></code><br/> NT domain name if NTLM proxy is used</p> <p><code><strong>SOCKSPROXYHOST=</strong></code><br/> <code><strong>SOCKSPROXYPORT=</strong></code><br/> SOCKS proxy (default none)</p> <p><code><strong>HTTP_PROXYUSER=</strong></code><br/> <code><strong>HTTP_PROXYPASSWORD=</strong></code><br/> Proxy authentication (used for HTTP, HTTPS and SOCKS proxies)</p> <p><code><strong>HTTP_NONPROXYHOSTS=</strong></code><br/> Proxy exceptions: list of hosts that can be accessed without going through the proxy separated by the '|' character, wildcard character '*' can be used for pattern matching used for HTTP and HTTPS (default none) (note: localhost and its literal notations (127.0.0.1, ...) are always excluded).</p> <h3 id="logging" class="css-18d4ktp ewop7ah2"><a title="Logging" class="css-4ebt6d ewop7ah1" href="/sonarqube/latest/setup-and-upgrade/configure-and-operate-a-server/environment-variables/#logging">Logging<svg type="h3" height="24" viewbox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" class="css-p7dib0 ewop7ah0"><path d="M8.46588 12.7069C9.59888 13.8399 11.5749 13.8399 12.7079 12.7069L13.4149 11.9999L14.8289 13.4139L14.1219 14.1209C13.1789 15.0649 11.9229 15.5859 10.5869 15.5859C9.25088 15.5859 7.99488 15.0649 7.05188 14.1209L4.92988 11.9999C3.99417 11.0612 3.46875 9.78985 3.46875 8.46444C3.46875 7.13902 3.99417 5.86765 4.92988 4.92894C5.39375 4.4644 5.94484 4.0961 6.55149 3.8452C7.15814 3.59431 7.80839 3.46575 8.46488 3.46693C9.12154 3.46557 9.77199 3.59403 10.3788 3.84493C10.9857 4.09584 11.5369 4.46424 12.0009 4.92894L12.7079 5.63594L11.2939 7.04994L10.5869 6.34294C10.0233 5.78193 9.26055 5.46697 8.46538 5.46697C7.67021 5.46697 6.90741 5.78193 6.34388 6.34294C5.78238 6.90621 5.46708 7.6691 5.46708 8.46444C5.46708 9.25977 5.78238 10.0227 6.34388 10.5859L8.46588 12.7069Z"/><path d="M11.9999 19.0713L11.2929 18.3643L12.7069 16.9503L13.4139 17.6573C13.9774 18.2183 14.7402 18.5332 15.5354 18.5332C16.3305 18.5332 17.0933 18.2183 17.6569 17.6573C18.2184 17.094 18.5337 16.3311 18.5337 15.5357C18.5337 14.7404 18.2184 13.9775 17.6569 13.4142L15.5349 11.2933C14.4019 10.1602 12.4259 10.1602 11.2929 11.2933L10.5859 12.0002L9.17188 10.5863L9.87887 9.87925C10.8219 8.93525 12.0779 8.41425 13.4139 8.41425C14.7499 8.41425 16.0059 8.93525 16.9489 9.87925L19.0709 12.0002C20.0066 12.939 20.532 14.2103 20.532 15.5357C20.532 16.8612 20.0066 18.1325 19.0709 19.0713C18.1324 20.0074 16.861 20.5332 15.5354 20.5332C14.2098 20.5332 12.9383 20.0074 11.9999 19.0713Z"/></svg></a></h3> <p>SonarQube produces logs in four logs files located in the same directory (see property <code>SONAR_PATH_LOGS</code> below), one per process:</p> <li>Main process (aka. App) logs in sonar.log</li> <li>Web Server (aka. Web) logs in web.log</li> <li>Compute Engine (aka. CE) logs in ce.log</li> <li>Elasticsearch (aka. ES) logs in es.log</li> <p>All four files follow the same rolling policy (see <code>SONAR_LOG_ROLLINGPOLICY</code> and <code>SONAR_LOG_MAXFILES</code>) but it applies individually (eg. if <code>SONAR_LOG_MAXFILES=4</code>, there can be at most 4 of each files, ie. 16 files in total).</p> <p>All four files have logs in the same format:</p> <div class="table-responsive"><table><tbody><tr><td><strong>1</strong></td><td><strong>2</strong></td><td><strong>3</strong></td></tr><tr><td>2016.11.16 16:47:00 INFO ce[AVht0dNXFcyiYejytc3m][o.s.s.c.t.ceworkercallableimpl] Executed task</td><td>project=org.sonarqube:example-java-maven</td><td>type=REPORT</td></tr><tr><td><strong>4</strong></td><td><strong>5</strong></td><td><strong>6</strong></td></tr><tr><td>id=AVht0dNXFcyiYejytc3m</td><td>submitter=admin</td><td>time=1699ms</td></tr></tbody></table></div> <p><strong>1</strong>: timestamp. Format is YYYY.MM.DD HH:MM:SS<br/> YYYY: year on 4 digits<br/> MM: month on 2 digits<br/> DD: day on 2 digits<br/> HH: hour of day on 2 digits in 24 hours format<br/> MM: minutes on 2 digits<br/> SS: seconds on 2 digits</p> <p><strong>2</strong>: log level. Possible values (in order of descending criticality): ERROR, WARN, INFO, DEBUG and TRACE</p> <p><strong>3</strong>: process identifier. Possible values: app (main), web (Web Server), ce (Compute Engine) and es (Elasticsearch)</p> <p><strong>4</strong>: SQ thread identifier. Can be empty. In the Web Server, if present, it will be the HTTP request ID. In the Compute Engine, if present, it will be the task ID.</p> <p><strong>5</strong>: logger name. Usually a class canonical name. Package names are truncated to keep the whole field to 20 characters max</p> <p><strong>6</strong>: log payload. Content of this field does not follow any specific format, can vary in length and include line returns. Some logs, however, will follow the convention to provide data in payload in the format "| key=value" Especially, log of profiled pieces of code will end with "| time=XXXXms".</p> <p><code><strong>SONAR_LOG_LEVEL=INFO</strong></code><br/> Global level of logs (applies to all 4 processes). Supported values are INFO (default), DEBUG and TRACE</p> <p><code><strong>SONAR_LOG_LEVEL_APP=INFO</strong></code><br/> <code><strong>SONAR_LOG_LEVEL_WEB=INFO</strong></code><br/> <code><strong>SONAR_LOG_LEVEL_CE=INFO</strong></code><br/> <code><strong>SONAR_LOG_LEVEL_ES=INFO</strong></code><br/> Level of logs of each process can be controlled individually with their respective properties. When specified, they overwrite the level defined at global level. Supported values are INFO, DEBUG and TRACE</p> <p><code><strong>SONAR_PATH_LOGS=logs</strong></code><br/> Path to log files. Can be absolute or relative to installation directory. Default is /logs</p> <p><code><strong>SONAR_LOG_ROLLINGPOLICY=time:yyyy-MM-dd</strong></code><br/> Rolling policy of log files:</p> <li>Based on time if value starts with "time:", for example by day ("time:yyyy-MM-dd") or by month ("time:yyyy-MM")</li> <li>Based on size if value starts with "size:", for example "size:10MB"</li> <li>Disabled if value is "none". That needs logs to be managed by an external system like logrotate.</li> <p><code><strong>SONAR_LOG_MAXFILES=7</strong></code><br/> Maximum number of files to keep if a rolling policy is enabled.</p> <li>maximum value is 20 on size rolling policy</li> <li>unlimited on time rolling policy. Set to zero to disable old file purging.</li> <p><code><strong>SONAR_WEB_ACCESSLOGS_ENABLE=true</strong></code> Access log is the list of all the HTTP requests received by server. If enabled, it is stored in the file {<code>SONAR_PATH_LOGS</code>}/access.log. This file follows the same rolling policy as other log file (see <code>SONAR_LOG_ROLLINGPOLICY</code> and <code>SONAR_LOG_MAXFILES</code>).</p> <p><code><strong>SONAR_WEB_ACCESSLOGS_PATTERN=%i{X-Forwarded-For} %l %u [%t] "%r" %s %b "%i{Referer}" "%i{User-Agent}" "%reqAttribute{ID}"</strong></code><br/> Format of access log. It is ignored if <code>SONAR_WEB_ACCESSLOGS_ENABLE=false</code>.</p> <p>Possible values are:</p> <li><code>common</code>: The Common Log Format, shortcut to: <code>%h %l %u %user %date "%r" %s %b</code></li> <li><code>combined</code>: Another format widely recognized, shortcut to: <code>%h %l %u [%t] "%r" %s %b "%i{Referer}" "%i{User-Agent}"</code></li> <li> Otherwise, a custom pattern: see <a href="http://logback.qos.ch/manual/layouts.html#AccessPatternLayout" class="external-link" target="_blank" rel="noopener" title="http://logback.qos.ch/manual/layouts.html#AccessPatternLayout">http://logback.qos.ch/manual/layouts.html#AccessPatternLayout<svg width="16" height="16" viewbox="0 0 16 16" xmlns="http://www.w3.org/2000/svg" class="css-bb4kds e1qcma9n0"><path d="M9.5 0.75C9.5 1.16562 9.83438 1.5 10.25 1.5H13.4406L6.46875 8.46875C6.175 8.7625 6.175 9.2375 6.46875 9.52812C6.7625 9.81875 7.2375 9.82187 7.52812 9.52812L14.4969 2.55938V5.75C14.4969 6.16563 14.8313 6.5 15.2469 6.5C15.6625 6.5 15.9969 6.16563 15.9969 5.75V0.75C15.9969 0.334375 15.6625 0 15.2469 0H10.25C9.83438 0 9.5 0.334375 9.5 0.75ZM2.25 1C1.00625 1 0 2.00625 0 3.25V13.75C0 14.9937 1.00625 16 2.25 16H12.75C13.9937 16 15 14.9937 15 13.75V9.75C15 9.33438 14.6656 9 14.25 9C13.8344 9 13.5 9.33438 13.5 9.75V13.75C13.5 14.1656 13.1656 14.5 12.75 14.5H2.25C1.83438 14.5 1.5 14.1656 1.5 13.75V3.25C1.5 2.83437 1.83438 2.5 2.25 2.5H6.25C6.66563 2.5 7 2.16563 7 1.75C7 1.33438 6.66563 1 6.25 1H2.25Z"/></svg></a>.</li> <p>The login of an authenticated user is not implemented with <code>"%u"</code> but with <code>"%reqAttribute{LOGIN}"</code> (since version 6.1).<br/> The value displayed for anonymous users is "<code>-</code>".</p> <p>The token name used for requests will be added to the access log if the <code>"%reqAttribute{TOKEN_NAME}"</code> is added (since version 9.5).</p> <p>The SonarQube's HTTP request ID can be added to the pattern with <code>"%reqAttribute{ID}"</code> (since version 6.2).</p> <p>If SonarQube is behind a reverse proxy, then the following value allows to display the correct remote IP address:</p> <p>Default value (which was "combined" before version 6.2) is equivalent to "combined + SQ HTTP request ID": </p> <p><code>SONAR_WEB_ACCESSLOGS_PATTERN=%h %l %u [%t] "%r" %s %b "%i{Referer}" "%i{User-Agent}" "%reqAttribute{ID}"</code></p> <h2 id="datacenter-edition" class="css-18d4ktp ewop7ah2"><a title="DataCenter Edition" class="css-4ebt6d ewop7ah1" href="/sonarqube/latest/setup-and-upgrade/configure-and-operate-a-server/environment-variables/#datacenter-edition">DataCenter Edition<svg type="h2" height="24" viewbox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" class="css-abpesc ewop7ah0"><path d="M8.46588 12.7069C9.59888 13.8399 11.5749 13.8399 12.7079 12.7069L13.4149 11.9999L14.8289 13.4139L14.1219 14.1209C13.1789 15.0649 11.9229 15.5859 10.5869 15.5859C9.25088 15.5859 7.99488 15.0649 7.05188 14.1209L4.92988 11.9999C3.99417 11.0612 3.46875 9.78985 3.46875 8.46444C3.46875 7.13902 3.99417 5.86765 4.92988 4.92894C5.39375 4.4644 5.94484 4.0961 6.55149 3.8452C7.15814 3.59431 7.80839 3.46575 8.46488 3.46693C9.12154 3.46557 9.77199 3.59403 10.3788 3.84493C10.9857 4.09584 11.5369 4.46424 12.0009 4.92894L12.7079 5.63594L11.2939 7.04994L10.5869 6.34294C10.0233 5.78193 9.26055 5.46697 8.46538 5.46697C7.67021 5.46697 6.90741 5.78193 6.34388 6.34294C5.78238 6.90621 5.46708 7.6691 5.46708 8.46444C5.46708 9.25977 5.78238 10.0227 6.34388 10.5859L8.46588 12.7069Z"/><path d="M11.9999 19.0713L11.2929 18.3643L12.7069 16.9503L13.4139 17.6573C13.9774 18.2183 14.7402 18.5332 15.5354 18.5332C16.3305 18.5332 17.0933 18.2183 17.6569 17.6573C18.2184 17.094 18.5337 16.3311 18.5337 15.5357C18.5337 14.7404 18.2184 13.9775 17.6569 13.4142L15.5349 11.2933C14.4019 10.1602 12.4259 10.1602 11.2929 11.2933L10.5859 12.0002L9.17188 10.5863L9.87887 9.87925C10.8219 8.93525 12.0779 8.41425 13.4139 8.41425C14.7499 8.41425 16.0059 8.93525 16.9489 9.87925L19.0709 12.0002C20.0066 12.939 20.532 14.2103 20.532 15.5357C20.532 16.8612 20.0066 18.1325 19.0709 19.0713C18.1324 20.0074 16.861 20.5332 15.5354 20.5332C14.2098 20.5332 12.9383 20.0074 11.9999 19.0713Z"/></svg></a></h2> <p><code><strong>SONAR_CLUSTER_NAME=sonarqube<br/> </strong></code>The name of the cluster. Required if multiple clusters are present on the same network. For example, this prevents mixing Production and Preproduction clusters. This will be the name stored in the Hazelcast cluster and used as the name of the Elasticsearch cluster.</p> <p><code><strong>SONAR_CLUSTER_SEARCH_HOSTS<br/> </strong></code>Comma-delimited list of search hosts in the cluster. The list can contain either the host or the host and port, but not both. The item format is <code>ip/hostname</code> for host only or<code>ip/hostname:port</code> for host and port. <code>ip/hostname</code> can also be set to the service name of the search containers .</p> <p><code><strong>SONAR_CLUSTER_SEARCH_PASSWORD<br/> </strong></code>Password for Elasticsearch built-in user (elastic) which will be used on the client site. If provided, it enables authentication. This property needs to be set to the same value throughout the cluster.</p> <h3 id="search-nodes-only" class="css-18d4ktp ewop7ah2"><a title="Search nodes only" class="css-4ebt6d ewop7ah1" href="/sonarqube/latest/setup-and-upgrade/configure-and-operate-a-server/environment-variables/#search-nodes-only">Search nodes only<svg type="h3" height="24" viewbox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" class="css-p7dib0 ewop7ah0"><path d="M8.46588 12.7069C9.59888 13.8399 11.5749 13.8399 12.7079 12.7069L13.4149 11.9999L14.8289 13.4139L14.1219 14.1209C13.1789 15.0649 11.9229 15.5859 10.5869 15.5859C9.25088 15.5859 7.99488 15.0649 7.05188 14.1209L4.92988 11.9999C3.99417 11.0612 3.46875 9.78985 3.46875 8.46444C3.46875 7.13902 3.99417 5.86765 4.92988 4.92894C5.39375 4.4644 5.94484 4.0961 6.55149 3.8452C7.15814 3.59431 7.80839 3.46575 8.46488 3.46693C9.12154 3.46557 9.77199 3.59403 10.3788 3.84493C10.9857 4.09584 11.5369 4.46424 12.0009 4.92894L12.7079 5.63594L11.2939 7.04994L10.5869 6.34294C10.0233 5.78193 9.26055 5.46697 8.46538 5.46697C7.67021 5.46697 6.90741 5.78193 6.34388 6.34294C5.78238 6.90621 5.46708 7.6691 5.46708 8.46444C5.46708 9.25977 5.78238 10.0227 6.34388 10.5859L8.46588 12.7069Z"/><path d="M11.9999 19.0713L11.2929 18.3643L12.7069 16.9503L13.4139 17.6573C13.9774 18.2183 14.7402 18.5332 15.5354 18.5332C16.3305 18.5332 17.0933 18.2183 17.6569 17.6573C18.2184 17.094 18.5337 16.3311 18.5337 15.5357C18.5337 14.7404 18.2184 13.9775 17.6569 13.4142L15.5349 11.2933C14.4019 10.1602 12.4259 10.1602 11.2929 11.2933L10.5859 12.0002L9.17188 10.5863L9.87887 9.87925C10.8219 8.93525 12.0779 8.41425 13.4139 8.41425C14.7499 8.41425 16.0059 8.93525 16.9489 9.87925L19.0709 12.0002C20.0066 12.939 20.532 14.2103 20.532 15.5357C20.532 16.8612 20.0066 18.1325 19.0709 19.0713C18.1324 20.0074 16.861 20.5332 15.5354 20.5332C14.2098 20.5332 12.9383 20.0074 11.9999 19.0713Z"/></svg></a></h3> <p><code><strong>SONAR_CLUSTER_ES_HOSTS<br/> </strong></code>Comma-delimited list of search hosts in the cluster. The list can contain either the host or the host and port but not both. The item format is <code>ip/hostname</code> for host only or<code>ip/hostname:port</code> for host and port, while <code>ip/hostname</code> can also be set to the service name of the search containers.</p> <p><code><strong>SONAR_CLUSTER_NODE_NAME<br/> </strong></code>The name of the node that is used on Elasticsearch and stored in Hazelcast member attribute (NODE_NAME)</p> <p><code><strong>SONAR_CLUSTER_ES_SSL_KEYSTORE<br/> </strong></code>File path to a keystore in PKCS#12 format. Can be the same PKCS#12 container as the <code>SONAR_CLUSTER_ES_SSL_TRUSTSTORE</code>. The user running SonarQube must have READ permission to that file. Required if password provided.</p> <p><code><strong>SONAR_CLUSTER_ES_SSL_KEYSTOREPASSWORD<br/> </strong></code>Password to the keystore.</p> <p><code><strong>SONAR_CLUSTER_ES_SSL_TRUSTSTORE<br/> </strong></code>File path to a truststore in PKCS#12 format. Can be the same PKCS#12 container as the <code>SONAR_CLUSTER_ES_SSL_KEYSTORE</code>. The user running SonarQube must have READ permission to that file. Required if password provided.</p> <p><code><strong>SONAR_CLUSTER_ES_SSL_TRUSTSTOREPASSWORD<br/> </strong></code>Password to the truststore.</p> <h3 id="application-nodes-only" class="css-18d4ktp ewop7ah2"><a title="Application nodes only" class="css-4ebt6d ewop7ah1" href="/sonarqube/latest/setup-and-upgrade/configure-and-operate-a-server/environment-variables/#application-nodes-only">Application nodes only<svg type="h3" height="24" viewbox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" class="css-p7dib0 ewop7ah0"><path d="M8.46588 12.7069C9.59888 13.8399 11.5749 13.8399 12.7079 12.7069L13.4149 11.9999L14.8289 13.4139L14.1219 14.1209C13.1789 15.0649 11.9229 15.5859 10.5869 15.5859C9.25088 15.5859 7.99488 15.0649 7.05188 14.1209L4.92988 11.9999C3.99417 11.0612 3.46875 9.78985 3.46875 8.46444C3.46875 7.13902 3.99417 5.86765 4.92988 4.92894C5.39375 4.4644 5.94484 4.0961 6.55149 3.8452C7.15814 3.59431 7.80839 3.46575 8.46488 3.46693C9.12154 3.46557 9.77199 3.59403 10.3788 3.84493C10.9857 4.09584 11.5369 4.46424 12.0009 4.92894L12.7079 5.63594L11.2939 7.04994L10.5869 6.34294C10.0233 5.78193 9.26055 5.46697 8.46538 5.46697C7.67021 5.46697 6.90741 5.78193 6.34388 6.34294C5.78238 6.90621 5.46708 7.6691 5.46708 8.46444C5.46708 9.25977 5.78238 10.0227 6.34388 10.5859L8.46588 12.7069Z"/><path d="M11.9999 19.0713L11.2929 18.3643L12.7069 16.9503L13.4139 17.6573C13.9774 18.2183 14.7402 18.5332 15.5354 18.5332C16.3305 18.5332 17.0933 18.2183 17.6569 17.6573C18.2184 17.094 18.5337 16.3311 18.5337 15.5357C18.5337 14.7404 18.2184 13.9775 17.6569 13.4142L15.5349 11.2933C14.4019 10.1602 12.4259 10.1602 11.2929 11.2933L10.5859 12.0002L9.17188 10.5863L9.87887 9.87925C10.8219 8.93525 12.0779 8.41425 13.4139 8.41425C14.7499 8.41425 16.0059 8.93525 16.9489 9.87925L19.0709 12.0002C20.0066 12.939 20.532 14.2103 20.532 15.5357C20.532 16.8612 20.0066 18.1325 19.0709 19.0713C18.1324 20.0074 16.861 20.5332 15.5354 20.5332C14.2098 20.5332 12.9383 20.0074 11.9999 19.0713Z"/></svg></a></h3> <p><code><strong>SONAR_CLUSTER_HOSTS</strong></code></p> <p>Comma-delimited list of all <strong>application</strong> hosts in the cluster. This value must contain <strong>only application hosts</strong>. Each item in the list must contain the port if the default <code>SONAR_CLUSTER_NODE_PORT</code> value is not used. Item format is <code>ip/hostname</code>, <code>ip/hostname:port</code>. <code>ip/hostname</code> can also be set to the service name of the application containers.</p> <p><code><strong>SONAR_CLUSTER_NODE_PORT</strong></code></p> <p>The Hazelcast port for communication with each application member of the cluster. Default: <code>9003</code></p> <h2 id="others" class="css-18d4ktp ewop7ah2"><a title="Others" class="css-4ebt6d ewop7ah1" href="/sonarqube/latest/setup-and-upgrade/configure-and-operate-a-server/environment-variables/#others">Others<svg type="h2" height="24" viewbox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" class="css-abpesc ewop7ah0"><path d="M8.46588 12.7069C9.59888 13.8399 11.5749 13.8399 12.7079 12.7069L13.4149 11.9999L14.8289 13.4139L14.1219 14.1209C13.1789 15.0649 11.9229 15.5859 10.5869 15.5859C9.25088 15.5859 7.99488 15.0649 7.05188 14.1209L4.92988 11.9999C3.99417 11.0612 3.46875 9.78985 3.46875 8.46444C3.46875 7.13902 3.99417 5.86765 4.92988 4.92894C5.39375 4.4644 5.94484 4.0961 6.55149 3.8452C7.15814 3.59431 7.80839 3.46575 8.46488 3.46693C9.12154 3.46557 9.77199 3.59403 10.3788 3.84493C10.9857 4.09584 11.5369 4.46424 12.0009 4.92894L12.7079 5.63594L11.2939 7.04994L10.5869 6.34294C10.0233 5.78193 9.26055 5.46697 8.46538 5.46697C7.67021 5.46697 6.90741 5.78193 6.34388 6.34294C5.78238 6.90621 5.46708 7.6691 5.46708 8.46444C5.46708 9.25977 5.78238 10.0227 6.34388 10.5859L8.46588 12.7069Z"/><path d="M11.9999 19.0713L11.2929 18.3643L12.7069 16.9503L13.4139 17.6573C13.9774 18.2183 14.7402 18.5332 15.5354 18.5332C16.3305 18.5332 17.0933 18.2183 17.6569 17.6573C18.2184 17.094 18.5337 16.3311 18.5337 15.5357C18.5337 14.7404 18.2184 13.9775 17.6569 13.4142L15.5349 11.2933C14.4019 10.1602 12.4259 10.1602 11.2929 11.2933L10.5859 12.0002L9.17188 10.5863L9.87887 9.87925C10.8219 8.93525 12.0779 8.41425 13.4139 8.41425C14.7499 8.41425 16.0059 8.93525 16.9489 9.87925L19.0709 12.0002C20.0066 12.939 20.532 14.2103 20.532 15.5357C20.532 16.8612 20.0066 18.1325 19.0709 19.0713C18.1324 20.0074 16.861 20.5332 15.5354 20.5332C14.2098 20.5332 12.9383 20.0074 11.9999 19.0713Z"/></svg></a></h2> <p><code><strong>SONAR_NOTIFICATIONS_DELAY=60</strong></code><br/> Delay in seconds between processing of notification queue. Default is 60 seconds.</p> <p><code><strong>SONAR_PATH_DATA=data</strong></code><br/> <code><strong>SONAR_PATH_TEMP=temp</strong></code><br/> Paths to persistent data files (embedded database and search index) and temporary files. Can be absolute or relative to installation directory. Defaults are respectively /data and /temp</p> <p><code><strong>SONAR_TELEMETRY_ENABLE=true</strong></code> Telemetry - Share anonymous SonarQube statistics. By sharing anonymous SonarQube statistics, you help us understand how SonarQube is used so we can improve the product to work even better for you. We don't collect source code or IP addresses. And we don't share the data with anyone else. For more information, see <a class="internal-link" title="Telemetry" href="/sonarqube/latest/instance-administration/telemetry/">Telemetry</a>.</p>
推荐文章