forked from qa-guru/niffler-st2
-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.test.yml
155 lines (143 loc) · 3.45 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
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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
version: '3.9'
networks:
test-network:
driver: bridge
services:
niffler-all-db:
container_name: niffler-all-db
image: postgres:15.1
environment:
- POSTGRES_MULTIPLE_DATABASES="niffler-auth","niffler-currency","niffler-spend","niffler-userdata"
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=secret
volumes:
- ./postgres:/docker-entrypoint-initdb.d
healthcheck:
test: [ "CMD", "pg_isready" ]
interval: 3s
timeout: 3s
retries: 5
expose:
- "5432"
networks:
- test-network
dns_search: .
niffler-auth:
container_name: niffler-auth
image: dtuchs/niffler-auth:latest
ports:
- "9000:9000"
healthcheck:
test: "wget --spider http://localhost:9000/actuator/health || exit 1"
interval: 5s
timeout: 5s
retries: 10
depends_on:
niffler-all-db:
condition: service_healthy
networks:
- test-network
dns_search: .
niffler-currency:
container_name: niffler-currency
image: dtuchs/niffler-currency:latest
expose:
- "8091"
- "8092"
depends_on:
niffler-all-db:
condition: service_healthy
networks:
- test-network
dns_search: .
niffler-gateway:
container_name: niffler-gateway
image: dtuchs/niffler-gateway:latest
ports:
- "8090:8090"
depends_on:
niffler-auth:
condition: service_started
networks:
- test-network
dns_search: .
niffler-spend:
container_name: niffler-spend
image: dtuchs/niffler-spend:latest
expose:
- "8093"
depends_on:
niffler-all-db:
condition: service_healthy
networks:
- test-network
dns_search: .
niffler-userdata:
container_name: niffler-userdata
image: dtuchs/niffler-userdata:latest
expose:
- "8089"
depends_on:
niffler-all-db:
condition: service_healthy
networks:
- test-network
dns_search: .
niffler-frontend:
container_name: niffler-frontend
image: dtuchs/niffler-frontend-test:latest
ports:
- "80:80"
depends_on:
niffler-gateway:
condition: service_started
networks:
- test-network
dns_search: .
selenoid:
container_name: selenoid
image: aerokube/selenoid:1.10.10
volumes:
- ./selenoid:/etc/selenoid
- /var/run/docker.sock:/var/run/docker.sock
restart: unless-stopped
command: [ "-conf", "/etc/selenoid/browsers.json", "-limit", "3", "-video-output-dir", "/opt/selenoid/video", "-log-output-dir", "/opt/selenoid/logs", "-container-network", "niffler_test-network" ]
ports:
- "4444:4444"
networks:
- test-network
dns_search: .
selenoid-ui:
container_name: selenoid-ui
image: aerokube/selenoid-ui:1.10.9
depends_on:
- selenoid
restart: unless-stopped
ports:
- "9090:8080"
command: [ "--selenoid-uri", "http://selenoid:4444" ]
networks:
- test-network
dns_search: .
niffler-e-2-e:
container_name: niffler-e-2-e
image: dtuchs/niffler-e-2-e-tests
depends_on:
niffler-frontend:
condition: service_started
networks:
- test-network
dns_search: .
allure:
container_name: allure
image: frankescobar/allure-docker-service
depends_on:
- niffler-e-2-e
environment:
CHECK_RESULTS_EVERY_SECONDS: 3
KEEP_HISTORY: 0
ports:
- "5050:5050"
networks:
- test-network
dns_search: .