Last active
          July 20, 2016 08:16 
        
      - 
      
- 
        Save mustafaakin/3f20c4ce3734d3ceee5337d1f5c2ce40 to your computer and use it in GitHub Desktop. 
    ShareLatex Docker Compose
  
        
  
    
      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
    
  
  
    
  | version: '2' | |
| services: | |
| redis: | |
| image: redis:3 | |
| mongo: | |
| image: mongo:2.6 | |
| restart: always | |
| volumes: | |
| - "./data/mongo:/data/db" | |
| latex: | |
| depends_on: | |
| - mongo | |
| - redis | |
| image: sharelatex/sharelatex | |
| links: | |
| - mongo | |
| - redis | |
| ports: | |
| - "80:80" | |
| restart: always | |
| volumes: | |
| - "./data/sharelatex:/var/lib/sharelatex" | |
| environment: | |
| SHARELATEX_SITE_URL: http://latex.ourdomain.net | |
| SHARELATEX_REDIS_HOST: redis | |
| SHARELATEX_MONGO_URL: mongodb://mongo/sharelatex | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment