mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-15 06:33:55 +01:00
Merge pull request #17694 from overleaf/bg-ipv6-fix-editing
Force services to use ipv4 in server-ce container GitOrigin-RevId: 9cf2734f8506bba15ef3ac11060508d2604d09ad
This commit is contained in:
@@ -14,7 +14,7 @@ if [[ "${ENABLE_CRON_RESOURCE_DELETION:-null}" != "true" ]]; then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
WEB_URL='http://localhost:3000'
|
||||
WEB_URL='http://127.0.0.1:3000'
|
||||
|
||||
USER=$(cat /etc/container_environment/WEB_API_USER)
|
||||
PASS=$(cat /etc/container_environment/WEB_API_PASSWORD)
|
||||
|
||||
@@ -14,7 +14,7 @@ if [[ "${ENABLE_CRON_RESOURCE_DELETION:-null}" != "true" ]]; then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
WEB_URL='http://localhost:3000'
|
||||
WEB_URL='http://127.0.0.1:3000'
|
||||
|
||||
USER=$(cat /etc/container_environment/WEB_API_USER)
|
||||
PASS=$(cat /etc/container_environment/WEB_API_PASSWORD)
|
||||
|
||||
@@ -14,7 +14,7 @@ if [[ "${ENABLE_CRON_RESOURCE_DELETION:-null}" != "true" ]]; then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
WEB_URL='http://localhost:3000'
|
||||
WEB_URL='http://127.0.0.1:3000'
|
||||
|
||||
USER=$(cat /etc/container_environment/WEB_API_USER)
|
||||
PASS=$(cat /etc/container_environment/WEB_API_PASSWORD)
|
||||
|
||||
@@ -7,6 +7,6 @@ echo "Flush project-history queue"
|
||||
echo "--------------------------"
|
||||
date
|
||||
|
||||
PROJECT_HISTORY_URL='http://localhost:3054'
|
||||
PROJECT_HISTORY_URL='http://127.0.0.1:3054'
|
||||
|
||||
curl -X POST "${PROJECT_HISTORY_URL}/flush/old?timeout=3600000&limit=5000&background=1"
|
||||
|
||||
@@ -7,6 +7,6 @@ echo "Retry project-history errors (hard)"
|
||||
echo "-----------------------------------"
|
||||
date
|
||||
|
||||
PROJECT_HISTORY_URL='http://localhost:3054'
|
||||
PROJECT_HISTORY_URL='http://127.0.0.1:3054'
|
||||
|
||||
curl -X POST "${PROJECT_HISTORY_URL}/retry/failures?failureType=hard&timeout=3600000&limit=10000"
|
||||
|
||||
@@ -6,6 +6,6 @@ echo "-----------------------------------"
|
||||
echo "Retry project-history errors (soft)"
|
||||
echo "-----------------------------------"
|
||||
|
||||
PROJECT_HISTORY_URL='http://localhost:3054'
|
||||
PROJECT_HISTORY_URL='http://127.0.0.1:3054'
|
||||
|
||||
curl -X POST "${PROJECT_HISTORY_URL}/retry/failures?failureType=soft&timeout=3600000&limit=10000"
|
||||
|
||||
Reference in New Issue
Block a user