A simple UI that can be used to build latex files and convert them using pandoc.
To run the server, you can use the following command:
docker run -d -p 80:3000 --name latex-builder --restart always nimamahmoudi/latex-builder
In case you want to put the server behind a reverse proxy:
docker run -it -p 127.0.0.1:3000:3000 nimamahmoudi/latex-builder
Or to update the image and run it again, or as something done as a cronjob:
docker rm -f latex-builder && docker pull nimamahmoudi/latex-builder && docker run -d -p 80:3000 --name latex-builder --restart always nimamahmoudi/latex-builder
Or use docker-compose
along with caddy with automatic tls:
sudo apt-get update && sudo apt install -qy python-pip && pip install docker-compose
# or as root
# apt-get update && apt install -qy python-pip && pip install docker-compose
docker-compose up -d
To enable monitoring, set the following environment variables:
ELASTIC_APM_SERVICE_NAME=latex-builder-public
ELASTIC_APM_SECRET_TOKEN=XXXXXXXXXXXXXXX
ELASTIC_APM_SERVER_URL=https://elasticsearchapm:8200