add: patchmon breaking change msg (#12075)

* add: patchmon breaking change msg

* Update ct/patchmon.sh

* Fix sed command for environment variable updates

* Fix protocol variable usage in patchmon.sh

---------

Co-authored-by: Chris <punk.sand7393@fastmail.com>
This commit is contained in:
Tobias
2026-02-19 16:15:10 +01:00
committed by GitHub
parent f4547f10b6
commit 32f3748a0e
2 changed files with 11 additions and 4 deletions

View File

@@ -47,8 +47,8 @@ sed -i -e "s|DATABASE_URL=.*|DATABASE_URL=\"postgresql://$PG_DB_USER:$PG_DB_PASS
-e "/JWT_SECRET/s/[=$].*/=$JWT_SECRET/" \
-e "\|CORS_ORIGIN|s|localhost|$LOCAL_IP|" \
-e "/PORT=3001/aSERVER_PROTOCOL=http \\
SERVER_HOST=$LOCAL_IP \\
SERVER_PORT=3000" \
SERVER_HOST=$LOCAL_IP \\
SERVER_PORT=3000" \
-e '/_ENV=production/aTRUST_PROXY=1' \
-e '/REDIS_USER=.*/,+1d' /opt/patchmon/backend/.env