fix: instantiate DB on first launch with Docker

This commit is contained in:
Maël Gangloff
2024-08-15 18:48:47 +02:00
parent 29f4a756d3
commit 5ab099d875
2 changed files with 8 additions and 0 deletions

View File

@@ -6,3 +6,10 @@ services:
target: frankenphp_prod
environment:
APP_SECRET: ${APP_SECRET}
php-worker:
build:
context: .
target: frankenphp_prod
restart: always
command: php /app/bin/console messenger:consume --all --time-limit=3600 -vvv