mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-23 09:09:36 +02:00
Add service for Linked URL feature
This commit is contained in:
@@ -6,6 +6,7 @@ export DOCUMENT_UPDATER_HOST=127.0.0.1
|
||||
export DOCUPDATER_HOST=127.0.0.1
|
||||
export FILESTORE_HOST=127.0.0.1
|
||||
export HISTORY_V1_HOST=127.0.0.1
|
||||
export LINKED_URL_PROXY_HOST=127.0.0.1
|
||||
export NOTIFICATIONS_HOST=127.0.0.1
|
||||
export PROJECT_HISTORY_HOST=127.0.0.1
|
||||
export REALTIME_HOST=127.0.0.1
|
||||
|
||||
12
server-ce/runit/linked-url-proxy-overleaf/run
Executable file
12
server-ce/runit/linked-url-proxy-overleaf/run
Executable file
@@ -0,0 +1,12 @@
|
||||
#!/bin/bash
|
||||
|
||||
NODE_PARAMS=""
|
||||
if [ "$DEBUG_NODE" == "true" ]; then
|
||||
echo "running debug - linked-url-proxy"
|
||||
NODE_PARAMS="--inspect=0.0.0.0:30660"
|
||||
fi
|
||||
|
||||
source /etc/overleaf/env.sh
|
||||
export LISTEN_ADDRESS=127.0.0.1
|
||||
|
||||
exec /sbin/setuser www-data /usr/bin/node $NODE_PARAMS /overleaf/services/linked-url-proxy/app.mjs >> /var/log/overleaf/linked-url-proxy.log 2>&1
|
||||
@@ -35,6 +35,9 @@ module.exports = [
|
||||
{
|
||||
name: 'history-v1',
|
||||
},
|
||||
{
|
||||
name: 'linked-url-proxy',
|
||||
},
|
||||
]
|
||||
|
||||
if (require.main === module) {
|
||||
|
||||
Reference in New Issue
Block a user