Coder Social home page Coder Social logo

3gx / docker-sharelatex-full Goto Github PK

View Code? Open in Web Editor NEW

This project forked from rigon/docker-sharelatex-full

0.0 0.0 0.0 13 KB

ShareLatex with all Latex packages installed by default

Home Page: https://hub.docker.com/r/rigon/sharelatex-full/

docker-sharelatex-full's Introduction

Docker Sharelatex-full

ShareLatex with all Latex packages installed by default.

What is

This is an extension of the official sharelatex.

The texlive-full package and tlmgr full scheme are installed on top of Sharelatex.

The is to create an image with many Latex packages as possible, so you do not have (hopefully) to worry about missing packages. The downside is the large size of the image.

How to use

This image can be used in the same way as the official image.

Since Sharelatex requires MongoDB and Redis, it is easier to setup via docker-compose (just the sharelatex image needs to be changed to rigon/sharelatex-full):

version: '2'
services:
	sharelatex:
	    restart: always
	    image: rigon/sharelatex-full
	    container_name: sharelatex
	    depends_on:
	        - mongo
	        - redis
	    privileged: true
	    ports:
	        - 80:80
	    links:
	        - mongo
	        - redis
	    volumes:
	        - ~/sharelatex_data:/var/lib/sharelatex
	    environment:
	        SHARELATEX_MONGO_URL: mongodb://mongo/sharelatex
	        SHARELATEX_REDIS_HOST: redis
	        SHARELATEX_APP_NAME: Our ShareLaTeX
	        
	        #Set for SSL via nginx-proxy
	        #VIRTUAL_HOST: 103.112.212.22

	        # SHARELATEX_SITE_URL: http://sharelatex.mydomain.com
	        # SHARELATEX_NAV_TITLE: Our ShareLaTeX Instance
	        # SHARELATEX_HEADER_IMAGE_URL: http://somewhere.com/mylogo.png
	        # SHARELATEX_ADMIN_EMAIL: [email protected]

	        # SHARELATEX_LEFT_FOOTER: '[{"text": "Powered by <a href=\"https://www.sharelatex.com\">ShareLaTeX</a> 2016"},{"text": "Another page I want to link to can be found <a href=\"here\">here</a>"} ]'
	        # SHARELATEX_RIGHT_FOOTER: '[{"text": "Hello I am on the Right"} ]'

	        # SHARELATEX_EMAIL_FROM_ADDRESS: "[email protected]"

	        # SHARELATEX_EMAIL_AWS_SES_ACCESS_KEY_ID: 
	        # SHARELATEX_EMAIL_AWS_SES_SECRET_KEY: 

	        # SHARELATEX_EMAIL_SMTP_HOST: smtp.mydomain.com
	        # SHARELATEX_EMAIL_SMTP_PORT: 587
	        # SHARELATEX_EMAIL_SMTP_SECURE: false
	        # SHARELATEX_EMAIL_SMTP_USER: 
	        # SHARELATEX_EMAIL_SMTP_PASS: 
	        # SHARELATEX_EMAIL_SMTP_TLS_REJECT_UNAUTH: true
	        # SHARELATEX_EMAIL_SMTP_IGNORE_TLS: false
	        # SHARELATEX_CUSTOM_EMAIL_FOOTER: "<div>This system is run by department x </div>"

	        ################
	        ## Server Pro ##
	        ################

	        # SANDBOXED_COMPILES:true

	        # SHARELATEX_LDAP_HOST: 'ldap://ldap.forumsys.com' 
	        # SHARELATEX_LDAP_DN: 'uid=:userKey,dc=example,dc=com' 
	        # SHARELATEX_LDAP_BASE_SEARCH: 'dc=example,dc=com'
	        # SHARELATEX_LDAP_FILTER: '(uid=:userKey)'
	        # SHARELATEX_LDAP_ADMIN_DN: 'cn=read-only-admin,dc=example,dc=com' 
	        # SHARELATEX_LDAP_ADMIN_PW: password'
	        # SHARELATEX_LDAP_ANONYMOUS: "false"
	        # SHARELATEX_LDAP_EMAIL_ATT: "mail"
	        # SHARELATEX_LDAP_NAME_ATT: "name"
	        # SHARELATEX_LDAP_LAST_NAME_ATT: "secondname"
	        # SHARELATEX_LDAP_PLACEHOLDER: "Username"
	        # SHARELATEX_LDAP_TLS: "true"
	        # SHARELATEX_LDAP_TLS_OPTS_REJECT_UNAUTH:
	        # SHARELATEX_LDAP_TLS_OPTS_CA_PATH: '["/var/one.pem", "/var/two.pem"]'

	        # SHARELATEX_TEMPLATES_USER_ID: "578773160210479700917ee5"

	        # SHARELATEX_PROXY_LEARN: "true"

	mongo:
	    restart: always
	    image: mongo
	    container_name: mongo
	    expose:
	        - 27017
	    volumes:
	        - ~/mongo_data:/data/db

	redis:
	    restart: always
	    image: redis
	    container_name: redis
	    expose:
	        - 6379
	    volumes:
	        - ~/redis_data:/data
	        
# nginx-proxy:
#     image: jwilder/nginx-proxy
#     container_name: nginx-proxy
#     ports:
#       #- "80:80"
#       - "443:443"
#     volumes:
#       - /var/run/docker.sock:/tmp/docker.sock:ro
#       - /home/sharelatex/tmp:/etc/nginx/certs

docker-sharelatex-full's People

Contributors

rigon avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.