728x90
728x90
version: "3"
services:
sonarqube:
image: mc1arke/sonarqube-with-community-branch-plugin
container_name: sonarqube
ports:
- "9000:9000"
- "9092:9092"
networks:
- sonarnet
environment:
- SONARQUBE_HOME=/opt/sonarqube
- SONARQUBE_JDBC_USERNAME=sonar
- SONARQUBE_JDBC_PASSWORD=sonar
- SONARQUBE_JDBC_URL=jdbc:postgresql://db:5432/sonar
volumes:
- sonarqube_conf:/opt/sonarqube/conf
- sonarqube_data:/opt/sonarqube/data
- sonarqube_logs:/opt/sonarqube/logs
- sonarqube_extensions:/opt/sonarqube/extensions
- sonarqube_bundled-plugins:/opt/sonarqube/lib/bundled-plugins
db:
image: postgres
container_name: postgres
networks:
- sonarnet
environment:
- POSTGRES_USER=sonar
- POSTGRES_PASSWORD=sonar
volumes:
- sonarqube_db:/var/lib/postgresql
- postgresql_data:/var/lib/postgresql/data
volumes:
postgresql_data:
sonarqube_bundled-plugins:
sonarqube_conf:
sonarqube_data:
sonarqube_logs:
sonarqube_db:
sonarqube_extensions:
networks:
sonarnet:
driver: bridge
728x90
728x90
'공부 > 기타' 카테고리의 다른 글
[대규모 시스템 설계 기초] 5장 - 안정 해시 (Consistent Hash) 설계 (0) | 2023.06.17 |
---|---|
[2023-06-15] 당근 SRE 밋업 3회 내용 정리 (0) | 2023.06.17 |
[NHN Cloud] VPC부터 Instance 접속까지 (AWS와 비교) (1) | 2023.03.11 |
[DNS] TXT 레코드와 SPF, DMARC (0) | 2022.05.13 |
[RSS] RSS란? AWS 최신 소식 Slack으로 받아보기 (0) | 2022.02.17 |
댓글