feat: CI: test against maildev smtp server
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
This commit is contained in:
parent
1815637a38
commit
c51037fbfe
1 changed files with 13 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue