mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Merge pull request #13115 from overleaf/msm-remove-track-changes-sp
Remove track-changes references from CE GitOrigin-RevId: 07ec4aebaf982bf6607a9e55e51e42c9fac90624
This commit is contained in:
parent
76d0d82e74
commit
82d7264c32
7 changed files with 2 additions and 52 deletions
|
@ -68,7 +68,6 @@ each service:
|
||||||
| `filestore` | 9235 |
|
| `filestore` | 9235 |
|
||||||
| `notifications` | 9236 |
|
| `notifications` | 9236 |
|
||||||
| `real-time` | 9237 |
|
| `real-time` | 9237 |
|
||||||
| `track-changes` | 9238 |
|
|
||||||
|
|
||||||
To attach to a service using Chrome's _remote debugging_, go to
|
To attach to a service using Chrome's _remote debugging_, go to
|
||||||
<chrome://inspect/> and make sure _Discover network targets_ is checked. Next
|
<chrome://inspect/> and make sure _Discover network targets_ is checked. Next
|
||||||
|
|
|
@ -13,7 +13,6 @@ PROJECT_HISTORY_HOST=project-history
|
||||||
REALTIME_HOST=real-time
|
REALTIME_HOST=real-time
|
||||||
REDIS_HOST=redis
|
REDIS_HOST=redis
|
||||||
SPELLING_HOST=spelling
|
SPELLING_HOST=spelling
|
||||||
TRACK_CHANGES_HOST=track-changes
|
|
||||||
WEBPACK_HOST=webpack
|
WEBPACK_HOST=webpack
|
||||||
WEB_API_PASSWORD=sharelatex
|
WEB_API_PASSWORD=sharelatex
|
||||||
WEB_API_USER=sharelatex
|
WEB_API_USER=sharelatex
|
||||||
|
|
|
@ -112,17 +112,6 @@ services:
|
||||||
- ../services/real-time/app.js:/overleaf/services/real-time/app.js
|
- ../services/real-time/app.js:/overleaf/services/real-time/app.js
|
||||||
- ../services/real-time/config:/overleaf/services/real-time/config
|
- ../services/real-time/config:/overleaf/services/real-time/config
|
||||||
|
|
||||||
track-changes:
|
|
||||||
command: ["npm", "run", "nodemon"]
|
|
||||||
environment:
|
|
||||||
- NODE_APP_OPTIONS=--inspect=0.0.0.0:9229
|
|
||||||
ports:
|
|
||||||
- "127.0.0.1:9238:9229"
|
|
||||||
volumes:
|
|
||||||
- ../services/track-changes/app:/overleaf/services/track-changes/app
|
|
||||||
- ../services/track-changes/app.js:/overleaf/services/track-changes/app.js
|
|
||||||
- ../services/track-changes/config:/overleaf/services/track-changes/config
|
|
||||||
|
|
||||||
web:
|
web:
|
||||||
command: ["npm", "run", "nodemon"]
|
command: ["npm", "run", "nodemon"]
|
||||||
environment:
|
environment:
|
||||||
|
|
|
@ -132,13 +132,6 @@ services:
|
||||||
volumes:
|
volumes:
|
||||||
- spelling-cache:/overleaf/services/spelling/cache
|
- spelling-cache:/overleaf/services/spelling/cache
|
||||||
|
|
||||||
track-changes:
|
|
||||||
build:
|
|
||||||
context: ..
|
|
||||||
dockerfile: services/track-changes/Dockerfile
|
|
||||||
env_file:
|
|
||||||
- dev.env
|
|
||||||
|
|
||||||
web:
|
web:
|
||||||
build:
|
build:
|
||||||
context: ..
|
context: ..
|
||||||
|
|
|
@ -118,20 +118,6 @@ const settings = {
|
||||||
blockingKey({ doc_id }) {
|
blockingKey({ doc_id }) {
|
||||||
return `Blocking:${doc_id}`
|
return `Blocking:${doc_id}`
|
||||||
},
|
},
|
||||||
// track-changes:lock
|
|
||||||
historyLock({ doc_id }) {
|
|
||||||
return `HistoryLock:${doc_id}`
|
|
||||||
},
|
|
||||||
historyIndexLock({ project_id }) {
|
|
||||||
return `HistoryIndexLock:${project_id}`
|
|
||||||
},
|
|
||||||
// track-changes:history
|
|
||||||
uncompressedHistoryOps({ doc_id }) {
|
|
||||||
return `UncompressedHistoryOps:${doc_id}`
|
|
||||||
},
|
|
||||||
docsWithHistoryOps({ project_id }) {
|
|
||||||
return `DocsWithHistoryOps:${project_id}`
|
|
||||||
},
|
|
||||||
// realtime
|
// realtime
|
||||||
clientsInProject({ project_id }) {
|
clientsInProject({ project_id }) {
|
||||||
return `clients_in_project:${project_id}`
|
return `clients_in_project:${project_id}`
|
||||||
|
@ -142,7 +128,7 @@ const settings = {
|
||||||
},
|
},
|
||||||
}),
|
}),
|
||||||
fairy: redisConfig,
|
fairy: redisConfig,
|
||||||
// track-changes and document-updater
|
// document-updater
|
||||||
realtime: redisConfig,
|
realtime: redisConfig,
|
||||||
documentupdater: redisConfig,
|
documentupdater: redisConfig,
|
||||||
lock: redisConfig,
|
lock: redisConfig,
|
||||||
|
@ -167,10 +153,6 @@ const settings = {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
trackchanges: {
|
|
||||||
continueOnError: true,
|
|
||||||
},
|
|
||||||
|
|
||||||
// Local disk caching
|
// Local disk caching
|
||||||
// ------------------
|
// ------------------
|
||||||
path: {
|
path: {
|
||||||
|
|
|
@ -1,9 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
|
|
||||||
NODE_PARAMS=""
|
|
||||||
if [ "$DEBUG_NODE" == "true" ]; then
|
|
||||||
echo "running debug - track-changes"
|
|
||||||
NODE_PARAMS="--inspect=0.0.0.0:30150"
|
|
||||||
fi
|
|
||||||
|
|
||||||
exec /sbin/setuser www-data /usr/bin/node $NODE_PARAMS /overleaf/services/track-changes/app.js >> /var/log/sharelatex/track-changes.log 2>&1
|
|
|
@ -14,9 +14,6 @@ module.exports = [
|
||||||
{
|
{
|
||||||
name: 'filestore'
|
name: 'filestore'
|
||||||
},
|
},
|
||||||
{
|
|
||||||
name: 'track-changes'
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
name: 'docstore'
|
name: 'docstore'
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue