fix: git в админке — ls-remote и pull от владельца репозитория

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
shop
2026-05-17 14:35:15 +03:00
parent d4166ec62a
commit 4c37f4ac1a
4 changed files with 133 additions and 50 deletions
+2 -1
View File
@@ -27,9 +27,10 @@ SMTP_PASS=
SMTP_FROM=shop@example.com
# Обновление из админки (/admin/system)
# SHOP_ROOT=/opt/shop
# SHOP_ROOT=/opt/shop/shop10
# ADMIN_UPDATE_ENABLED=1
# ADMIN_UPDATE_USE_SUDO=1
# SHOP_GIT_USER=root
# PostgreSQL 17 (одна строка или отдельные переменные)
DATABASE_URL=postgresql://shop:shop@127.0.0.1:5432/shop