chore: fix post start on coolify compose

This commit is contained in:
gabrieljablonski 2025-06-12 23:24:43 -03:00
parent c350ba15ec
commit 0b09542d33

View File

@ -44,9 +44,9 @@ services:
restart: always
post_start:
- command:
- 'bundle exec rails db:chatwoot_prepare &&'
- 'bundle exec rails branding:update &&'
- 'if [ -n "$${BRAND_ASSETS_URL}" ]; then deployment/extract_brand_assets.sh "$${BRAND_ASSETS_URL}"; fi'
- sh
- '-c'
- 'bundle exec rails db:chatwoot_prepare && bundle exec rails branding:update && if [ -n "$${BRAND_ASSETS_URL}" ]; then deployment/extract_brand_assets.sh "$${BRAND_ASSETS_URL}"; fi'
healthcheck:
test:
- CMD-SHELL