Skip to content

Instantly share code, notes, and snippets.

@GLinBoy
Forked from marcelbirkner/docker-compose.yml
Created February 18, 2018 06:08
Show Gist options
  • Select an option

  • Save GLinBoy/4f5ccc14d11cd09e9f604e1a429e86d7 to your computer and use it in GitHub Desktop.

Select an option

Save GLinBoy/4f5ccc14d11cd09e9f604e1a429e86d7 to your computer and use it in GitHub Desktop.

Revisions

  1. @marcelbirkner marcelbirkner revised this gist Oct 12, 2015. 1 changed file with 20 additions and 0 deletions.
    20 changes: 20 additions & 0 deletions docker-compose.yml
    Original file line number Diff line number Diff line change
    @@ -11,6 +11,7 @@ jenkins:
    - nexus:nexus
    - gitlab:gitlab
    - sonar:sonar
    - selhub:hub

    sonar:
    build: ./sonar
    @@ -26,6 +27,25 @@ db:
    - POSTGRES_USER=sonar
    - POSTGRES_PASSWORD=sonar

    selhub:
    image: selenium/hub
    ports:
    - 4444:4444

    nodeff:
    image: selenium/node-firefox-debug
    ports:
    - 5900
    links:
    - selhub:hub

    nodechrome:
    image: selenium/node-chrome-debug
    ports:
    - 5900
    links:
    - selhub:hub

    postgresql:
    image: sameersbn/postgresql:9.4-3
    environment:
  2. @marcelbirkner marcelbirkner created this gist Oct 4, 2015.
    86 changes: 86 additions & 0 deletions docker-compose.yml
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,86 @@
    nexus:
    build: ./nexus
    ports:
    - "18081:8081"

    jenkins:
    build: ./jenkins
    ports:
    - "18080:8080"
    links:
    - nexus:nexus
    - gitlab:gitlab
    - sonar:sonar

    sonar:
    build: ./sonar
    ports:
    - "19000:9000"
    - "5432:5432"
    environment:
    - SONARQUBE_JDBC_URL=jdbc:postgresql://localhost:5432/sonar
    db:
    image: postgres
    net: container:sonar
    environment:
    - POSTGRES_USER=sonar
    - POSTGRES_PASSWORD=sonar

    postgresql:
    image: sameersbn/postgresql:9.4-3
    environment:
    - DB_USER=gitlab
    - DB_PASS=password
    - DB_NAME=gitlabhq_production
    volumes:
    - /srv/docker/gitlab/postgresql:/var/lib/postgresql
    gitlab:
    image: sameersbn/gitlab:8.0.3
    links:
    - redis:redisio
    - postgresql:postgresql
    ports:
    - "10080:80"
    - "10022:22"
    environment:
    - TZ=Europe/Berlin
    - GITLAB_TIMEZONE=Berlin

    - GITLAB_SECRETS_DB_KEY_BASE=long-and-random-alphanumeric-string

    - GITLAB_HOST=localhost
    - GITLAB_PORT=10080
    - GITLAB_SSH_PORT=10022

    - GITLAB_NOTIFY_ON_BROKEN_BUILDS=true
    - GITLAB_NOTIFY_PUSHER=false

    - [email protected]
    - [email protected]
    - [email protected]

    - GITLAB_BACKUPS=daily
    - GITLAB_BACKUP_TIME=01:00

    - SMTP_ENABLED=false
    - SMTP_DOMAIN=www.example.com
    - SMTP_HOST=smtp.gmail.com
    - SMTP_PORT=587
    - [email protected]
    - SMTP_PASS=password
    - SMTP_STARTTLS=true
    - SMTP_AUTHENTICATION=login

    - IMAP_ENABLED=false
    - IMAP_HOST=imap.gmail.com
    - IMAP_PORT=993
    - [email protected]
    - IMAP_PASS=password
    - IMAP_SSL=true
    - IMAP_STARTTLS=false
    volumes:
    - /srv/docker/gitlab/gitlab:/home/git/data
    redis:
    image: sameersbn/redis:latest
    volumes:
    - /srv/docker/gitlab/redis:/var/lib/redis