- Symfony 8.1 webapp skeleton on PHP 8.5 (AssetMapper/importmap, no Node)
- Form-login gate: User entity, security.yaml, SecurityController,
app:user:create command, initial migration (user + messenger_messages)
- Bootstrap 5 + DataTables layout (base/login/home templates); any
table.datatable is auto-initialised
- trusted_proxies/headers wired for the shared Nginx Proxy Manager
- Docker (servers only): docker-compose.yml (php:8.5-fpm-alpine,
nginx:1.30-alpine, mariadb:12.3; host ports 8085/3310; external
docker_default network) + docker/{Dockerfile,php.ini,nginx,setup.sh,restart.sh}
- .env with CHANGEME placeholders (no secrets), .gitattributes enforces
LF so the deploy scripts stay runnable on Linux
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
27 lines
847 B
YAML
27 lines
847 B
YAML
framework:
|
|
messenger:
|
|
failure_transport: failed
|
|
|
|
transports:
|
|
# https://symfony.com/doc/current/messenger.html#transport-configuration
|
|
async:
|
|
dsn: '%env(MESSENGER_TRANSPORT_DSN)%'
|
|
retry_strategy:
|
|
max_retries: 3
|
|
multiplier: 2
|
|
failed: 'doctrine://default?queue_name=failed'
|
|
# sync: 'sync://'
|
|
|
|
default_bus: messenger.bus.default
|
|
|
|
buses:
|
|
messenger.bus.default: []
|
|
|
|
routing:
|
|
Symfony\Component\Mailer\Messenger\SendEmailMessage: async
|
|
Symfony\Component\Notifier\Message\ChatMessage: async
|
|
Symfony\Component\Notifier\Message\SmsMessage: async
|
|
|
|
# Route your messages to the transports
|
|
# 'App\Message\YourMessage': async
|