An omni-repo for deploying all TeXlyre servers locally
Before you deploy, you need to copy the enfile.local to .env and frontend/userdata.local.json to frontend/userdata.json.
You can modify those two newly created configs, which will not be included in the repo (gitignored):
cp envfile.local .env
cp frontend/userdata.local.json frontend/userdata.jsonCreate your local environment file and deploy:
git submodule deinit --all -f
git submodule update --init --recursive --remote
docker compose up -d --buildYou can now access TeXlyre on http://localhost:8082/texlyre/
All services are accessible at http://localhost:8082 with subdomain routing:
- Traefik Dashboard: http://traefik.localhost:8082
- Portainer: http://portainer.localhost:8082
- TeXlyre Frontend: http://localhost:8082/texlyre/
- FilePizza: http://filepizza.localhost:8082
- Y-WebRTC: http://ywebrtc.localhost:8082
- PeerJS: http://peerjs.localhost:8082
- TeXlive: http://texlive.localhost:8082
Update submodules to latest version:
git submodule update --remote --mergeStop containers:
docker compose downFor network hosting, production deployment, custom ports, and SSL setup, see ADVANCED.md.
Services are deployed with the following container names:
${COMPOSE_PROJECT_NAME}-traefik${COMPOSE_PROJECT_NAME}-portainer${COMPOSE_PROJECT_NAME}-frontend${COMPOSE_PROJECT_NAME}-filepizza${COMPOSE_PROJECT_NAME}-ywebrtc${COMPOSE_PROJECT_NAME}-peerjs${COMPOSE_PROJECT_NAME}-texlive${COMPOSE_PROJECT_NAME}-redis
