Consolidate data access control backoffice updates
This commit is contained in:
1
ops/sonarqube/99-sonarqube.conf
Normal file
1
ops/sonarqube/99-sonarqube.conf
Normal file
@@ -0,0 +1 @@
|
||||
vm.max_map_count = 524288
|
||||
15
ops/sonarqube/sonarcube.cloud-handson.com.conf
Normal file
15
ops/sonarqube/sonarcube.cloud-handson.com.conf
Normal file
@@ -0,0 +1,15 @@
|
||||
server {
|
||||
listen 80;
|
||||
listen [::]:80;
|
||||
server_name sonarcube.cloud-handson.com;
|
||||
|
||||
location / {
|
||||
proxy_pass http://127.0.0.1:9000;
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
proxy_set_header X-Forwarded-Host $host;
|
||||
}
|
||||
}
|
||||
20
ops/sonarqube/sonarqube-community.service
Normal file
20
ops/sonarqube/sonarqube-community.service
Normal file
@@ -0,0 +1,20 @@
|
||||
[Unit]
|
||||
Description=SonarQube Community Build (evaluation)
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=opc
|
||||
Group=opc
|
||||
WorkingDirectory=/home/opc/tools/sonarqube-26.6.0.123539
|
||||
Environment=SONAR_WEB_HOST=127.0.0.1
|
||||
Environment=SONAR_WEB_PORT=9000
|
||||
ExecStart=/bin/bash /home/opc/tools/sonarqube-26.6.0.123539/bin/linux-x86-64/sonar.sh console
|
||||
Restart=on-failure
|
||||
RestartSec=10
|
||||
TimeoutStartSec=180
|
||||
LimitNOFILE=131072
|
||||
LimitNPROC=8192
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user