mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-29 06:17:25 +00:00
fix(web-app-shopware): skip local public/bundles check when the S3 object-store asset backend is active (DiD root-caused)
This commit is contained in:
2 files changed
+8
-5
No files matched your search
@@ -133,11 +133,13 @@ $PHP_BIN bin/console dal:refresh:index || log "dal:refresh:index failed (non-cri
|
||||
# ---------------------------
|
||||
# 5) Verify admin bundles
|
||||
# ---------------------------
|
||||
if [ ! -d "public/bundles/administration" ]; then
|
||||
fail "Missing directory public/bundles/administration (asset build failed)"
|
||||
fi
|
||||
if ! ls public/bundles/administration/* >/dev/null 2>&1; then
|
||||
fail "No files found in public/bundles/administration (asset build failed)"
|
||||
if [ "${SHOPWARE_OBJSTORE_ENABLED:-false}" != "true" ]; then
|
||||
if [ ! -d "public/bundles/administration" ]; then
|
||||
fail "Missing directory public/bundles/administration (asset build failed)"
|
||||
fi
|
||||
if ! ls public/bundles/administration/* >/dev/null 2>&1; then
|
||||
fail "No files found in public/bundles/administration (asset build failed)"
|
||||
fi
|
||||
fi
|
||||
|
||||
# ---------------------------
|
||||
|
||||
@@ -6,6 +6,7 @@ APP_DEBUG="{{ MODE_DEBUG | bool| ternary(1, 0) }}"
|
||||
# Shopware
|
||||
APP_ENV={{ 'dev' if (ENVIRONMENT | lower) == 'development' else 'prod' }}
|
||||
INSTANCE_ID={{ application_id }}
|
||||
SHOPWARE_OBJSTORE_ENABLED={{ SHOPWARE_OBJSTORE_ENABLED | string | lower }}
|
||||
|
||||
# Proxy
|
||||
TRUSTED_PROXIES="{{ ([networks.internet.values() | select | list, NETWORK_TRUSTED_PROXY_CIDRS] | flatten) | join(',') }}"
|
||||
|
||||
Reference in new issue
Block a user