forked from Hostea/dashboard
feat: CI: setup test SMTP server
parent
417724c731
commit
b6f78e5820
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue