Skip to content
This repository was archived by the owner on Oct 2, 2023. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,10 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
version: '3.4'
version: '3.8'
services:
sonarqube:
platform: linux/x86_64 # for running on mac os silicon chip
image: sonarqube:8-community
ports:
- "9000:9000"
Expand All @@ -28,6 +29,7 @@ services:
retries: 3
start_period: 5m
mongodb:
platform: linux/x86_64 # for running on mac os silicon chip
image: mongo:3.6
ports:
- "27017:27017"
Expand Down Expand Up @@ -57,7 +59,7 @@ services:
ports:
- "80:80"
- "8080:8080"
environment:
environment:
- PROXY_URL=
- PROXY_PORT=
- PROXY_USERNAME=
Expand All @@ -77,7 +79,7 @@ services:
- SONAR_USERNAME=
- SONAR_PASSWORD=
privileged: true
# If you want to view logs locally or have mongo data persisted uncomment out the below.
# If you want to view logs locally or have mongo data persisted uncomment out the below.
volumes:
# This is for getting container logs locally
- './logs:/hygieia/logs'
Expand All @@ -86,4 +88,4 @@ services:




3 changes: 2 additions & 1 deletion jenkins/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
FROM jenkins/jenkins:lts-jdk11
COPY config.xml /usr/share/jenkins/ref/config.xml
COPY plugins.txt /usr/share/jenkins/ref/plugins.txt
RUN /usr/local/bin/install-plugins.sh < /usr/share/jenkins/ref/plugins.txt
RUN echo $(/usr/local/bin/install-plugins.sh)
RUN jenkins-plugin-cli -f /usr/share/jenkins/ref/plugins.txt
RUN echo 2.0 > /usr/share/jenkins/ref/jenkins.install.UpgradeWizard.state
COPY jobs/ /usr/share/jenkins/ref/jobs
2 changes: 1 addition & 1 deletion jenkins/plugins.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ jdk-tool:1.4
workflow-aggregator:2.6
timestamper:1.11.5
ws-cleanup:0.38
bouncycastle-api:2.18
bouncycastle-api:2.26
command-launcher:1.4
sonar:2.11