feat: CI: setup test SMTP server
parent
417724c731
commit
b6f78e5820
|
@ -3,6 +3,7 @@ pipeline:
|
||||||
image: python
|
image: python
|
||||||
environment:
|
environment:
|
||||||
- DATABSE_URL=postgres://postgres:password@database:5432/postgres
|
- DATABSE_URL=postgres://postgres:password@database:5432/postgres
|
||||||
|
- EMAIL_URL=smtp://admin:password@localhost:10025
|
||||||
commands:
|
commands:
|
||||||
- pip install virtualenv
|
- pip install virtualenv
|
||||||
- make env
|
- make env
|
||||||
|
@ -14,3 +15,10 @@ services:
|
||||||
image: postgres
|
image: postgres
|
||||||
environment:
|
environment:
|
||||||
- POSTGRES_PASSWORD=password
|
- POSTGRES_PASSWORD=password
|
||||||
|
|
||||||
|
smtp:
|
||||||
|
image: maildev/maildev
|
||||||
|
environment:
|
||||||
|
- MAILDEV_SMTP_PORT=10025
|
||||||
|
- MAILDEV_INCOMING_USER=admin
|
||||||
|
- MAILDEV_INCOMING_PASS=password
|
||||||
|
|
Loading…
Reference in New Issue