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 restart: always
post_start: post_start:
- command: - command:
- 'bundle exec rails db:chatwoot_prepare &&' - sh
- 'bundle exec rails branding:update &&' - '-c'
- 'if [ -n "$${BRAND_ASSETS_URL}" ]; then deployment/extract_brand_assets.sh "$${BRAND_ASSETS_URL}"; fi' - '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: healthcheck:
test: test:
- CMD-SHELL - CMD-SHELL