Last active
          September 26, 2022 05:10 
        
      - 
      
- 
        Save golonzovsky/4d40bdd32d58e863c41a to your computer and use it in GitHub Desktop. 
    docker compose to start jenkins, nexus, sonar, selenium hub and chrome nodes
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | nexus-data: | |
| container_name: nexus-data | |
| image: sonatype/nexus:oss | |
| command: echo "data-only container for Nexus" | |
| nexus: | |
| container_name: nexus | |
| image: sonatype/nexus:oss | |
| environment: | |
| - CONTEXT_PATH=/nexus | |
| volumes_from: | |
| - nexus-data | |
| sonar-db: | |
| container_name: sonar-db | |
| image: postgres | |
| environment: | |
| - POSTGRES_USER=sonar | |
| - POSTGRES_PASSWORD=sonar | |
| sonar: | |
| container_name: sonar | |
| image: sonarqube | |
| environment: | |
| - SONARQUBE_JDBC_URL=jdbc:postgresql://db:5432/sonar | |
| links: | |
| - sonar-db:db | |
| selhub: | |
| container_name: selhub | |
| image: selenium/hub | |
| nodechrome: | |
| image: selenium/node-chrome-debug | |
| links: | |
| - selhub:hub | |
| jenkins-data: | |
| container_name: jenkins-data | |
| image: jenkins | |
| command: echo "data-only container for Jenkins" | |
| jenkins: | |
| container_name: jenkins | |
| image: jenkins | |
| links: | |
| - nexus:longscm01e.gta.travel.lcl | |
| - sonar | |
| - sonar-db:sonardb | |
| - selhub | |
| volumes_from: | |
| - jenkins-data | |
| #TODO: add jenkins agents | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
            
http://developer-blog.cloudbees.com/2014/04/apache-mesos-and-jenkins-elastic-build.html?view=sidebar
http://www.ebaytechblog.com/2014/04/04/delivering-ebays-ci-solution-with-apache-mesos-part-i/
http://www.ebaytechblog.com/2014/05/12/delivering-ebays-ci-solution-with-apache-mesos-part-ii/