@@ -132,6 +132,10 @@ tasks:
132132
133133 install-tools-test :
134134 cmds :
135+ - task : curl
136+ vars :
137+ URL : https://raw.githubusercontent.com/axllent/mailpit/develop/install.sh
138+ PIPE : sudo bash
135139 - go run github.com/playwright-community/playwright-go/cmd/playwright@latest install chromium --with-deps
136140 - bun i -g concurrently wait-on
137141
@@ -377,6 +381,9 @@ tasks:
377381 - task : git-reset-hard
378382 - task : init
379383
384+ # * Mailpit
385+ mailpit : mailpit --smtp-auth-allow-insecure --smtp-auth-accept-any
386+
380387 # * Docker
381388 docker-usage : docker system df
382389
@@ -411,7 +418,7 @@ tasks:
411418 cmds :
412419 - task : compose-env
413420 vars :
414- OPTIONS : .env.dev down
421+ OPTIONS : .env.demo.dev --profile dev down
415422 - task : docker-rm-vol
416423 vars :
417424 VOLUME : codexgo-database-mongodb-dev
@@ -421,13 +428,13 @@ tasks:
421428 - task : compose-dev-down
422429 - task : compose-env
423430 vars :
424- OPTIONS : .env.dev up
431+ OPTIONS : .env.demo.dev --profile dev up
425432
426433 compose-test-down :
427434 cmds :
428435 - task : compose-env
429436 vars :
430- OPTIONS : .env.test down
437+ OPTIONS : .env.demo.test --profile test down
431438 - task : docker-rm-vol
432439 vars :
433440 VOLUME : codexgo-database-mongodb-test
@@ -437,27 +444,27 @@ tasks:
437444 - task : compose-test-down
438445 - task : compose-env
439446 vars :
440- OPTIONS : .env.test --env-file .env.test.integration up --exit-code-from codexgo
447+ OPTIONS : .env.demo. test --env-file .env.demo. test.integration --profile test up --exit-code-from codexgo
441448
442449 compose-test-acceptance :
443450 cmds :
444451 - task : compose-test-down
445452 - task : compose-env
446453 vars :
447- OPTIONS : .env.test --env-file .env.test.acceptance up --exit-code-from codexgo
454+ OPTIONS : .env.demo. test --env-file .env.demo. test.acceptance --profile test up --exit-code-from codexgo
448455
449456 compose-tests :
450457 cmds :
451458 - task : compose-test-down
452459 - task : compose-env
453460 vars :
454- OPTIONS : .env.test up --exit-code-from codexgo
461+ OPTIONS : .env.demo.test --profile test up --exit-code-from codexgo
455462
456463 compose-prod-down :
457464 cmds :
458465 - task : compose-env
459466 vars :
460- OPTIONS : .env.prod down
467+ OPTIONS : .env.demo. prod down
461468 - task : docker-rm-img
462469 vars :
463470 IMAGE : codexgo
@@ -467,20 +474,20 @@ tasks:
467474 - task : compose-prod-down
468475 - task : compose-env
469476 vars :
470- OPTIONS : .env.prod up --exit-code-from codexgo
477+ OPTIONS : .env.demo. prod up --exit-code-from codexgo
471478
472479 demo-down :
473480 cmds :
474481 - task : compose-env
475482 vars :
476- OPTIONS : .env.demo down
483+ OPTIONS : .env.demo --profile demo down
477484
478485 demo :
479486 cmds :
480487 - task : demo-down
481488 - task : compose-env
482489 vars :
483- OPTIONS : .env.demo up --exit-code-from codexgo
490+ OPTIONS : .env.demo --profile demo up --exit-code-from codexgo
484491
485492 compose-down :
486493 cmds :
0 commit comments