feat: CI: setup test SMTP server

wip-payments
Aravinth Manivannan 2022-06-10 22:34:08 +05:30
parent 417724c731
commit b6f78e5820
Signed by: realaravinth
GPG Key ID: AD9F0F08E855ED88
1 changed files with 8 additions and 0 deletions

View File

@ -3,6 +3,7 @@ pipeline:
image: python
environment:
- DATABSE_URL=postgres://postgres:password@database:5432/postgres
- EMAIL_URL=smtp://admin:password@localhost:10025
commands:
- pip install virtualenv
- make env
@ -14,3 +15,10 @@ services:
image: postgres
environment:
- POSTGRES_PASSWORD=password
smtp:
image: maildev/maildev
environment:
- MAILDEV_SMTP_PORT=10025
- MAILDEV_INCOMING_USER=admin
- MAILDEV_INCOMING_PASS=password