Şöyle yaparız
version: "3"services:sonarqube:image: sonarqubeexpose:- 9000ports:- "127.0.0.1:9000:9000"networks:- sonarnetenvironment:- sonar.jdbc.url=jdbc:postgresql://db:5432/sonar- sonar.jdbc.username=sonar- sonar.jdbc.password=sonarvolumes:- sonarqube_conf:/opt/sonarqube/conf- sonarqube_data:/opt/sonarqube/data- sonarqube_extensions:/opt/sonarqube/extensions- sonarqube_bundled-plugins:/opt/sonarqube/lib/bundled-pluginsdb:image: postgresnetworks:- sonarnetenvironment:- POSTGRES_USER=sonar- POSTGRES_PASSWORD=sonarvolumes:- postgresql:/var/lib/postgresql- postgresql_data:/var/lib/postgresql/datanetworks:sonarnet:volumes:sonarqube_conf:sonarqube_data:sonarqube_extensions:sonarqube_bundled-plugins:postgresql:postgresql_data:
Hiç yorum yok:
Yorum Gönder