add mailpit to dev shell and process-compose
Mailpit listens on 1025 (smtp) and 8025 (web ui). Backend now depends on it as a healthy dep so dev signups can flush their confirmation emails to mailpit instead of /dev/null.
This commit is contained in:
parent
effdde84a5
commit
4ac2323a2a
2 changed files with 13 additions and 0 deletions
|
|
@ -24,6 +24,7 @@
|
||||||
typescript
|
typescript
|
||||||
postgresql
|
postgresql
|
||||||
process-compose
|
process-compose
|
||||||
|
mailpit
|
||||||
];
|
];
|
||||||
|
|
||||||
shellHook = ''
|
shellHook = ''
|
||||||
|
|
|
||||||
|
|
@ -11,12 +11,24 @@ processes:
|
||||||
initial_delay_seconds: 1
|
initial_delay_seconds: 1
|
||||||
period_seconds: 2
|
period_seconds: 2
|
||||||
|
|
||||||
|
mailpit:
|
||||||
|
command: mailpit --smtp 127.0.0.1:1025 --listen 127.0.0.1:8025
|
||||||
|
readiness_probe:
|
||||||
|
http_get:
|
||||||
|
host: 127.0.0.1
|
||||||
|
port: 8025
|
||||||
|
path: /
|
||||||
|
initial_delay_seconds: 1
|
||||||
|
period_seconds: 2
|
||||||
|
|
||||||
backend:
|
backend:
|
||||||
command: php artisan serve --host=127.0.0.1 --port=8000
|
command: php artisan serve --host=127.0.0.1 --port=8000
|
||||||
working_dir: ./backend
|
working_dir: ./backend
|
||||||
depends_on:
|
depends_on:
|
||||||
postgres:
|
postgres:
|
||||||
condition: process_healthy
|
condition: process_healthy
|
||||||
|
mailpit:
|
||||||
|
condition: process_healthy
|
||||||
readiness_probe:
|
readiness_probe:
|
||||||
http_get:
|
http_get:
|
||||||
host: 127.0.0.1
|
host: 127.0.0.1
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue