1
0
Fork 0
mirror of https://github.com/overleaf/toolkit.git synced 2025-04-18 14:58:21 +02:00
No description
Find a file
2020-06-12 11:42:39 +01:00
bin Handle error in backup-config script 2020-06-12 10:57:57 +01:00
config remove old files 2020-06-04 16:15:32 +01:00
data init, basic doctor 2020-06-02 14:20:23 +01:00
examples Specify exact version of image 2020-06-12 10:03:12 +01:00
.gitignore update gitignore 2020-06-04 16:23:42 +01:00
README.md Update readme 2020-06-12 11:42:39 +01:00

Overleaf Toolkit

Getting Started

  • Run bin/init
    • this will populate config files in config/
  • Run bin/up
    • this will start the service with docker-compose

Doctor

Run bin/doctor for debug output

Config files

  • config/overleaf.rc
  • config/variables.env
  • config/docker-compose.base.yml
  • config/docker-compose.mongo.yml
  • config/docker-compose.redis.yml
  • config/docker-compose.sibling-containers.yml

Overleaf.rc

The config/overleaf.rc file controls top-level configuration, such as the docker image to use, data paths, etc. This is used to configure the invocaton to docker-compose.

Variables.env

Environment variables loaded in the overleaf container as application settings.

Data directories (default)

  • data/mongo
  • data/redis
  • data/sharelatex

All are persisted outside of the containers.

These can be changed by setting MONGO_DATA_PATH (etc) in overleaf.rc

TODO

  • Improve the init script
  • Investigate how we can support using external mongo/redis easily
    • Docker networking, etc
  • Consistent --help output from each tool
  • Full documentation
    • New user walkthrough
    • Documentation for each file
    • Documentation for each tool in the bin folder