Giter VIP home page Giter VIP logo

latex-docker's Introduction

latex-docker

GitHub license GitHub Workflow Status GitHub issues Docker Pulls Docker Image Size (latest by date) Docker Stars Docker Image Version (latest by date)

A docker image of the latex environment, with support for pre-installing the latest full environment of overleaf and vscode(code-server).

vscode + full overleaf + docker

Feature

  • Update the latest overleaf

  • Complete tex environment

  • With code-server for online use of vscode

  • With Chinese language package

Usage

Step 1: download Official compose

save as docker-compose.yml

https://github.com/overleaf/overleaf/blob/main/docker-compose.yml

Step 2: Configuration Rewrite Configuration

save as docker-compose.override.yml

# RAW https://github.com/overleaf/overleaf/blob/main/docker-compose.yml
services:
    sharelatex:
        restart: always
        # 0.overleaf
        # image: zanderzhao/latex-docker:overleaf-latest
        # 1.overleaf vscode
        # image: zanderzhao/latex-docker:overleaf-vscode-latest
        # 2.overleaf-full
        # image: zanderzhao/latex-docker:overleafull-latest
        # 3.overleaf-full vscode
        # image: zanderzhao/latex-docker:overleafull-vscode-latest
        # 4.overleaf-full cn-fonts
        # image: zanderzhao/latex-docker:overleafull-cn-latest
        # 5.overleaf-full vscode cn-fonts
        image: zanderzhao/latex-docker:overleafull-vscode-cn-latest
        ports:
            # For overleaf, the previous 80 can change to others ports, eg: 8081:80, overleaf will server at port 8081 local
            - 80:80
            # For vscode, the previous 8090 can change to others ports, eg: 8082:8090, vscode will server at port 8082 local
            - 8090:8090
        volumes:
            # For overleaf 
            - ./sharelatex_data:/var/lib/sharelatex
            # For vscode
            - ./codeserver_data:/var/lib/codeserver
        environment:
            # For vscode
            PASSWORD: 123456

more tags: https://hub.docker.com/r/zanderzhao/latex-docker/tags

Step 3: Setup

use docker-compose up -d setup

Step 4: Open from Browser

The overleaf will server at 80(default port), go to http://127.0.0.1:80/launchpad page to set up your first admin user.

The code-server(vscode) will server at 8090(default port), go to http://127.0.0.1:8090 page to use, the password is which you set in Step 2 environment > PASSWORD, default demo set 123456

TODO

Reference

latex-docker's People

Contributors

zanderzhao avatar

Watchers

 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.