seed development user on startup
This commit is contained in:
parent
f53e422b45
commit
0e3901f05a
3 changed files with 25 additions and 1 deletions
|
|
@ -18,6 +18,13 @@ processes:
|
|||
postgres:
|
||||
condition: process_healthy
|
||||
|
||||
seed:
|
||||
command: php artisan db:seed --force
|
||||
working_dir: ./backend
|
||||
depends_on:
|
||||
migrate:
|
||||
condition: process_completed_successfully
|
||||
|
||||
mailpit:
|
||||
command: mailpit --smtp 127.0.0.1:${MAILPIT_SMTP_PORT:-2525} --listen 127.0.0.1:${MAILPIT_UI_PORT:-8025}
|
||||
readiness_probe:
|
||||
|
|
@ -32,7 +39,7 @@ processes:
|
|||
command: php artisan serve --host=127.0.0.1 --port=${BACKEND_PORT:-8001}
|
||||
working_dir: ./backend
|
||||
depends_on:
|
||||
migrate:
|
||||
seed:
|
||||
condition: process_completed_successfully
|
||||
mailpit:
|
||||
condition: process_healthy
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue