Merge pull request #16919 from overleaf/jpa-check-env-vars

[server-ce] add script for checking on old ShareLaTeX env vars

GitOrigin-RevId: a60d6f7648d65c336054795affe91a349aa629cf
This commit is contained in:
Jakob Ackermann
2024-02-12 09:03:33 +00:00
committed by Copybot
parent 288e8ab86c
commit 12befda220
10 changed files with 72 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
#!/bin/bash
set -e -o pipefail
# See the bottom of http://stackoverflow.com/questions/24319662/from-inside-of-a-docker-container-how-do-i-connect-to-the-localhost-of-the-mach
echo "`route -n | awk '/UG[ \t]/{print $2}'` dockerhost" >> /etc/hosts