-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.test.yml
40 lines (35 loc) · 1.29 KB
/
docker-compose.test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
version: '3.5'
services:
userme:
build: .
image: stutzlab/userme
environment:
- LOG_LEVEL=debug
- DB_DIALECT=sqlite3
- MAIL_SMTP_HOST=smtp.mailtrap.io
- MAIL_SMTP_PORT=2525
- MAIL_SMTP_USER=d999da469e2965
- MAIL_SMTP_PASS=0e62129c398c1c
- MAIL_FROM_NAME=Testanzu
- MAIL_ACTIVATION_SUBJECT=Activate your account at Testanzu.com!
- MAIL_ACTIVATION_HTML=<b>Hi DISPLAY_NAME</b>, <p> <a href=https://test.com/activate?t=ACTIVATION_TOKEN>Click here to complete your registration</a><br>Be welcome!</p> <p>-Test Team.</p>
- MAIL_PASSWORD_RESET_SUBJECT=Password reset requested at Testanzu.com
- MAIL_PASSWORD_RESET_HTML=<b>Hi DISPLAY_NAME</b>, <p> <a href=https://test.com/reset-password?t=PASSWORD_RESET_TOKEN>Click here to reset your password</a></p><p>-Test Team.</p>
- MAIL_TOKENS_FOR_TESTS=true
- ACCOUNT_ACTIVATION_METHOD=mail
- JWT_SIGNING_METHOD=ES256
secrets:
- jwt-signing-key
sut:
build: tests/.
environment:
- USERME_HOST=http://userme:7000
- WAIT_TIME_SECONDS=5
- WAIT_CONNECT_HOST=userme
- WAIT_CONNECT_PORT=7000
depends_on:
- userme
secrets:
jwt-signing-key:
file: ./tests/test-key.pem