feat: CI: test against maildev smtp server
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
Aravinth Manivannan 2024-05-18 20:42:59 +05:30
parent 1815637a38
commit c51037fbfe
Signed by: realaravinth
GPG key ID: F8F50389936984FF

View file

@ -5,6 +5,10 @@ steps:
event: [push, pull_request, tag, deployment]
environment:
- DATABASE_URL=postgres://postgres:password@database:5432/postgres
- VANIKAM_email_URL="smtp://admin:password@email:10025"
- MAILDEV_URL=http://email:1080
- VANIKAM_email_FROM="Vanikam Info <info@vanikam.app>"
- VANIKAM_email_REPLY_TO="Vanikam Support <support@vanikam.app>"
commands:
# - curl -fsSL https://deb.nodesource.com/setup_16.x | bash - &&\
# - apt update && apt-get -y --no-install-recommends install nodejs tar gpg curl wget
@ -73,3 +77,12 @@ services:
image: postgres
environment:
- POSTGRES_PASSWORD=password
email:
image: maildev/maildev:latest
restart: always
container_name: vanigam-dash-maildev
environment:
- MAILDEV_SMTP_PORT=10025
- MAILDEV_INCOMING_USER=admin
- MAILDEV_INCOMING_PASS=password