forked from deworkerpro/demo-auction
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose-testing.yml
79 lines (71 loc) · 2.2 KB
/
docker-compose-testing.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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
version: "3.7"
services:
gateway:
image: ${REGISTRY}/auction-testing-gateway:${IMAGE_TAG}
frontend:
image: ${REGISTRY}/auction-frontend:${IMAGE_TAG}
api:
image: ${REGISTRY}/auction-api:${IMAGE_TAG}
api-php-fpm:
image: ${REGISTRY}/auction-api-php-fpm:${IMAGE_TAG}
environment:
APP_ENV: prod
APP_DEBUG: 0
DB_HOST: api-postgres
DB_USER: app
DB_PASSWORD: secret
DB_NAME: app
MAILER_HOST: mailer
MAILER_PORT: 1025
MAILER_USER: app
MAILER_PASSWORD: secret
MAILER_ENCRYPTION: tcp
MAILER_FROM_EMAIL: [email protected]
FRONTEND_URL: http://gateway:8080
SENTRY_DSN: ""
api-php-cli:
image: ${REGISTRY}/auction-api-php-cli:${IMAGE_TAG}
environment:
APP_ENV: prod
APP_DEBUG: 0
DB_HOST: api-postgres
DB_USER: app
DB_PASSWORD: secret
DB_NAME: app
MAILER_HOST: mailer
MAILER_PORT: 1025
MAILER_USER: app
MAILER_PASSWORD: secret
MAILER_ENCRYPTION: tcp
MAILER_FROM_EMAIL: [email protected]
FRONTEND_URL: http://gateway:8080
SENTRY_DSN: ""
testing-api-php-cli:
image: ${REGISTRY}/auction-testing-api-php-cli:${IMAGE_TAG}
environment:
APP_ENV: dev
APP_DEBUG: 1
DB_HOST: api-postgres
DB_USER: app
DB_PASSWORD: secret
DB_NAME: app
MAILER_HOST: mailer
MAILER_PORT: 1025
MAILER_USER: app
MAILER_PASSWORD: secret
MAILER_ENCRYPTION: tcp
MAILER_FROM_EMAIL: [email protected]
FRONTEND_URL: http://gateway:8080
SENTRY_DSN: ""
api-postgres:
image: postgres:12.2-alpine
environment:
POSTGRES_USER: app
POSTGRES_PASSWORD: secret
POSTGRES_DB: app
mailer:
image: mailhog/mailhog
cucumber-node-cli:
image: ${REGISTRY}/auction-cucumber-node-cli:${IMAGE_TAG}
volumes:
- ./cucumber/var:/app/var