[docs-only] Add email service to the docker-compose setup for tests (#6347)
* add email docker compose for running tests * update docs to run email tests in docker compose setup * fix typo
This commit is contained in:
@@ -16,6 +16,9 @@ services:
|
||||
BEHAT_FEATURE: ${BEHAT_FEATURE:-}
|
||||
DIVIDE_INTO_NUM_PARTS: $DIVIDE_INTO_NUM_PARTS
|
||||
RUN_PART: $RUN_PART
|
||||
# email
|
||||
EMAIL_HOST: email
|
||||
EMAIL_PORT: 9000
|
||||
env_file:
|
||||
- ../../../../.drone.env
|
||||
volumes:
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
services:
|
||||
start_email:
|
||||
image: dadarek/wait-for-dependencies
|
||||
depends_on:
|
||||
- email
|
||||
command: email:9000
|
||||
email:
|
||||
image: inbucket/inbucket
|
||||
@@ -28,6 +28,10 @@ services:
|
||||
STORAGE_USERS_S3NG_ACCESS_KEY: test
|
||||
STORAGE_USERS_S3NG_SECRET_KEY: test
|
||||
STORAGE_USERS_S3NG_BUCKET: test
|
||||
# email
|
||||
NOTIFICATIONS_SMTP_HOST: email
|
||||
NOTIFICATIONS_SMTP_PORT: 2500
|
||||
NOTIFICATIONS_SMTP_INSECURE: "true"
|
||||
volumes:
|
||||
- ../../../config:/drone/src/tests/config
|
||||
- ../../../ociswrapper/bin/ociswrapper:/usr/bin/ociswrapper
|
||||
|
||||
Reference in New Issue
Block a user