Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
texjs
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Nicholas Kreimeyer
texjs
Commits
38c82b3c
Verified
Commit
38c82b3c
authored
May 14, 2020
by
David Mehren
Browse files
Options
Downloads
Patches
Plain Diff
Update PM2 config, use HTTP Repos, adapt settings.coffee for non-docker usage
Signed-off-by:
David Mehren
<
dmehren1@gmail.com
>
parent
fd4115ee
No related branches found
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
pm2_processes.yml
+26
-0
26 additions, 0 deletions
pm2_processes.yml
services.js
+1
-1
1 addition, 1 deletion
services.js
settings.coffee
+4
-4
4 additions, 4 deletions
settings.coffee
with
31 additions
and
5 deletions
pm2_processes.yml
+
26
−
0
View file @
38c82b3c
...
@@ -5,6 +5,8 @@ apps:
...
@@ -5,6 +5,8 @@ apps:
instances
:
1
instances
:
1
autorestart
:
false
autorestart
:
false
interpreter
:
node@10.16.3
interpreter
:
node@10.16.3
env
:
SHARELATEX_CONFIG
:
"
/tmp/texjs/config/settings.coffee"
-
name
:
clsi
-
name
:
clsi
script
:
app.js
script
:
app.js
cwd
:
clsi
cwd
:
clsi
...
@@ -12,6 +14,8 @@ apps:
...
@@ -12,6 +14,8 @@ apps:
autorestart
:
false
autorestart
:
false
interpreter
:
node@10.16.3
interpreter
:
node@10.16.3
exec_mode
:
fork
exec_mode
:
fork
env
:
SHARELATEX_CONFIG
:
"
/tmp/texjs/config/settings.coffee"
-
name
:
contacts
-
name
:
contacts
script
:
app.js
script
:
app.js
cwd
:
contacts
cwd
:
contacts
...
@@ -19,6 +23,8 @@ apps:
...
@@ -19,6 +23,8 @@ apps:
autorestart
:
false
autorestart
:
false
interpreter
:
node@10.16.3
interpreter
:
node@10.16.3
exec_mode
:
fork
exec_mode
:
fork
env
:
SHARELATEX_CONFIG
:
"
/tmp/texjs/config/settings.coffee"
-
name
:
docstore
-
name
:
docstore
script
:
app.js
script
:
app.js
cwd
:
docstore
cwd
:
docstore
...
@@ -26,6 +32,8 @@ apps:
...
@@ -26,6 +32,8 @@ apps:
autorestart
:
false
autorestart
:
false
interpreter
:
node@10.16.3
interpreter
:
node@10.16.3
exec_mode
:
fork
exec_mode
:
fork
env
:
SHARELATEX_CONFIG
:
"
/tmp/texjs/config/settings.coffee"
-
name
:
document-updater
-
name
:
document-updater
script
:
app.js
script
:
app.js
cwd
:
document-updater
cwd
:
document-updater
...
@@ -33,6 +41,8 @@ apps:
...
@@ -33,6 +41,8 @@ apps:
autorestart
:
false
autorestart
:
false
interpreter
:
node@10.16.3
interpreter
:
node@10.16.3
exec_mode
:
fork
exec_mode
:
fork
env
:
SHARELATEX_CONFIG
:
"
/tmp/texjs/config/settings.coffee"
-
name
:
filestore
-
name
:
filestore
script
:
app.js
script
:
app.js
cwd
:
filestore
cwd
:
filestore
...
@@ -40,6 +50,8 @@ apps:
...
@@ -40,6 +50,8 @@ apps:
autorestart
:
false
autorestart
:
false
interpreter
:
node@10.16.3
interpreter
:
node@10.16.3
exec_mode
:
fork
exec_mode
:
fork
env
:
SHARELATEX_CONFIG
:
"
/tmp/texjs/config/settings.coffee"
-
name
:
notifications
-
name
:
notifications
script
:
app.js
script
:
app.js
cwd
:
notifications
cwd
:
notifications
...
@@ -47,6 +59,8 @@ apps:
...
@@ -47,6 +59,8 @@ apps:
autorestart
:
false
autorestart
:
false
interpreter
:
node@10.16.3
interpreter
:
node@10.16.3
exec_mode
:
fork
exec_mode
:
fork
env
:
SHARELATEX_CONFIG
:
"
/tmp/texjs/config/settings.coffee"
-
name
:
real-time
-
name
:
real-time
script
:
app.js
script
:
app.js
cwd
:
real-time
cwd
:
real-time
...
@@ -54,6 +68,8 @@ apps:
...
@@ -54,6 +68,8 @@ apps:
autorestart
:
false
autorestart
:
false
interpreter
:
node@10.16.3
interpreter
:
node@10.16.3
exec_mode
:
fork
exec_mode
:
fork
env
:
SHARELATEX_CONFIG
:
"
/tmp/texjs/config/settings.coffee"
-
name
:
spelling
-
name
:
spelling
script
:
app.js
script
:
app.js
cwd
:
spelling
cwd
:
spelling
...
@@ -61,6 +77,8 @@ apps:
...
@@ -61,6 +77,8 @@ apps:
autorestart
:
false
autorestart
:
false
interpreter
:
node@10.16.3
interpreter
:
node@10.16.3
exec_mode
:
fork
exec_mode
:
fork
env
:
SHARELATEX_CONFIG
:
"
/tmp/texjs/config/settings.coffee"
-
name
:
tags
-
name
:
tags
script
:
app.js
script
:
app.js
cwd
:
tags
cwd
:
tags
...
@@ -68,6 +86,8 @@ apps:
...
@@ -68,6 +86,8 @@ apps:
autorestart
:
false
autorestart
:
false
interpreter
:
node@10.16.3
interpreter
:
node@10.16.3
exec_mode
:
fork
exec_mode
:
fork
env
:
SHARELATEX_CONFIG
:
"
/tmp/texjs/config/settings.coffee"
-
name
:
track-changes
-
name
:
track-changes
script
:
app.js
script
:
app.js
cwd
:
track-changes
cwd
:
track-changes
...
@@ -75,6 +95,8 @@ apps:
...
@@ -75,6 +95,8 @@ apps:
autorestart
:
false
autorestart
:
false
interpreter
:
node@10.16.3
interpreter
:
node@10.16.3
exec_mode
:
fork
exec_mode
:
fork
env
:
SHARELATEX_CONFIG
:
"
/tmp/texjs/config/settings.coffee"
-
name
:
web
-
name
:
web
script
:
app.js
script
:
app.js
cwd
:
web
cwd
:
web
...
@@ -82,3 +104,7 @@ apps:
...
@@ -82,3 +104,7 @@ apps:
autorestart
:
false
autorestart
:
false
interpreter
:
node@10.16.3
interpreter
:
node@10.16.3
exec_mode
:
fork
exec_mode
:
fork
env
:
SHARELATEX_CONFIG
:
"
/tmp/texjs/config/settings.coffee"
WEB_API_USER
:
"
sharelatex"
WEB_API_PASSWORD
:
"
password"
This diff is collapsed.
Click to expand it.
services.js
+
1
−
1
View file @
38c82b3c
...
@@ -2,7 +2,7 @@ module.exports =
...
@@ -2,7 +2,7 @@ module.exports =
[{
[{
name
:
"
web
"
,
name
:
"
web
"
,
repo
:
"
git@
gitlab.fachschaften.org
:
texjs/web.git
"
,
repo
:
"
https://
gitlab.fachschaften.org
/
texjs/web.git
"
,
version
:
"
master
"
version
:
"
master
"
},
{
},
{
name
:
"
real-time
"
,
name
:
"
real-time
"
,
...
...
This diff is collapsed.
Click to expand it.
settings.coffee
+
4
−
4
View file @
38c82b3c
...
@@ -3,7 +3,7 @@ Path = require('path')
...
@@ -3,7 +3,7 @@ Path = require('path')
# These credentials are used for authenticating api requests
# These credentials are used for authenticating api requests
# between services that may need to go over public channels
# between services that may need to go over public channels
httpAuthUser
=
"sharelatex"
httpAuthUser
=
"sharelatex"
httpAuthPass
=
process
.
env
[
"WEB_API_PASSWORD"
]
httpAuthPass
=
"password"
httpAuthUsers
=
{}
httpAuthUsers
=
{}
httpAuthUsers
[
httpAuthUser
]
=
httpAuthPass
httpAuthUsers
[
httpAuthUser
]
=
httpAuthPass
...
@@ -37,7 +37,7 @@ settings =
...
@@ -37,7 +37,7 @@ settings =
#
#
# The following works out of the box with Mongo's default settings:
# The following works out of the box with Mongo's default settings:
mongo
:
mongo
:
url
:
process
.
env
[
"SHARELATEX_MONGO_URL"
]
or
'mongodb://
d
oc
ker
host/sharelatex'
url
:
process
.
env
[
"SHARELATEX_MONGO_URL"
]
or
'mongodb://
l
oc
al
host/sharelatex'
# Redis is used in ShareLaTeX for high volume queries, like real-time
# Redis is used in ShareLaTeX for high volume queries, like real-time
# editing, and session management.
# editing, and session management.
...
@@ -45,7 +45,7 @@ settings =
...
@@ -45,7 +45,7 @@ settings =
# The following config will work with Redis's default settings:
# The following config will work with Redis's default settings:
redis
:
redis
:
web
:
redisConfig
=
web
:
redisConfig
=
host
:
process
.
env
[
"SHARELATEX_REDIS_HOST"
]
or
"
d
oc
ker
host"
host
:
process
.
env
[
"SHARELATEX_REDIS_HOST"
]
or
"
l
oc
al
host"
port
:
process
.
env
[
"SHARELATEX_REDIS_PORT"
]
or
"6379"
port
:
process
.
env
[
"SHARELATEX_REDIS_PORT"
]
or
"6379"
password
:
process
.
env
[
"SHARELATEX_REDIS_PASS"
]
or
""
password
:
process
.
env
[
"SHARELATEX_REDIS_PASS"
]
or
""
key_schema
:
key_schema
:
...
@@ -147,7 +147,7 @@ settings =
...
@@ -147,7 +147,7 @@ settings =
# Where your instance of ShareLaTeX can be found publicly. This is used
# Where your instance of ShareLaTeX can be found publicly. This is used
# when emails are sent out and in generated links:
# when emails are sent out and in generated links:
siteUrl
:
siteUrl
=
process
.
env
[
"SHARELATEX_SITE_URL"
]
or
'http://localhost'
siteUrl
:
siteUrl
=
'http
s
://localhost'
# The name this is used to describe your ShareLaTeX Installation
# The name this is used to describe your ShareLaTeX Installation
appName
:
process
.
env
[
"SHARELATEX_APP_NAME"
]
or
"ShareLaTeX (Community Edition)"
appName
:
process
.
env
[
"SHARELATEX_APP_NAME"
]
or
"ShareLaTeX (Community Edition)"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment