Last active
          August 5, 2021 20:10 
        
      - 
      
 - 
        
Save agarzon/b99cd73b39e55763ff3dcdc8e58c8639 to your computer and use it in GitHub Desktop.  
    My docker-compose.yml for development 
  
        
  
    
      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
    
  
  
    
  | gitlab: | |
| image: 'gitlab/gitlab-ce:latest' | |
| container_name: gitlab | |
| restart: always | |
| hostname: 'gitlab.mcu.dc' | |
| environment: | |
| GITLAB_OMNIBUS_CONFIG: | | |
| external_url 'http://gitlab.mcu.dc:8090' | |
| gitlab_rails['gitlab_shell_ssh_port'] = 2290 | |
| gitlab_rails['smtp_enable'] = true | |
| gitlab_rails['smtp_address'] = "smtp.gmail.com" | |
| gitlab_rails['smtp_port'] = 587 | |
| gitlab_rails['smtp_user_name'] = "[email protected]" | |
| gitlab_rails['smtp_password'] = "xxx" | |
| gitlab_rails['smtp_domain'] = "smtp.gmail.com" | |
| gitlab_rails['smtp_authentication'] = "login" | |
| gitlab_rails['smtp_enable_starttls_auto'] = true | |
| gitlab_rails['smtp_tls'] = false | |
| gitlab_rails['smtp_openssl_verify_mode'] = 'peer' | |
| ports: | |
| - '2290:22' | |
| - '8090:8090' | |
| volumes: | |
| - '/data/gitlab/config:/etc/gitlab' | |
| - '/data/gitlab/logs:/var/log/gitlab' | |
| - '/data/gitlab/data:/var/opt/gitlab' | |
| gitlab-runner: | |
| image: 'gitlab/gitlab-runner:latest' | |
| container_name: gitlab-runner | |
| restart: always | |
| volumes: | |
| - '/data/gitlab-runner/config:/etc/gitlab-runner' | |
| - '/var/run/docker.sock:/var/run/docker.sock' | |
| mailhog: | |
| image: mailhog/mailhog:latest | |
| container_name: mailhog | |
| restart: always | |
| ports: | |
| - "8025:8025" | |
| - "1025:1025" | |
| phpmyadmin: | |
| image: phpmyadmin/phpmyadmin | |
| container_name: pma | |
| restart: always | |
| ports: | |
| - "8888:80" | |
| environment: | |
| PMA_HOST: "192.168.1.35" | |
| redis: | |
| image: redis | |
| container_name: redis | |
| restart: always | |
| ports: | |
| - "6379:6379" | |
| phantomjs: | |
| image: wernight/phantomjs | |
| container_name: phantomjs | |
| restart: always | |
| ports: | |
| - "4442:8910" | |
| command: "phantomjs --webdriver=8910 --ignore-ssl-errors=true --ssl-protocol=any" | |
| selenium-chrome: | |
| image: selenium/standalone-chrome | |
| container_name: selenium-chrome | |
| restart: always | |
| ports: | |
| - "4440:4444" | |
| selenium-firefox: | |
| image: selenium/standalone-firefox | |
| container_name: selenium-firefox | |
| restart: always | |
| ports: | |
| - "4444:4444" | 
Matter of taste, phantom is lot faster but selenium process better js, cookies, modern DOM, etc.
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
            
Nice stuff, thanks!
Can I ask what's the reason to use both phantomjs and selenium?