@@ -8,17 +8,18 @@ services:
8
8
tty : true
9
9
volumes :
10
10
- ./results:/usr/src/app/results
11
+ - ./report:/usr/src/app/report
11
12
- ./plugins:/usr/src/app/plugins
12
- - .redisinsight-app:/root/.redisinsight-app
13
- - ./test-data/certs:/root/certs
14
- - ./test-data/ssh:/root/ssh
13
+ - rihomedir:/root/.redisinsight-app
14
+ - tmp:/tmp
15
15
- ./remote:/root/remote
16
16
env_file :
17
17
- ./.env
18
+ entrypoint : [
19
+ ' ./upload-custom-plugins.sh' ,
20
+ ]
18
21
environment :
19
22
TEST_FILES : $TEST_FILES
20
- COMMON_URL : ' http://app:5540'
21
- API_URL : ' http://app:5540/api'
22
23
E2E_CLOUD_DATABASE_HOST : $E2E_CLOUD_DATABASE_HOST
23
24
E2E_CLOUD_DATABASE_PORT : $E2E_CLOUD_DATABASE_PORT
24
25
E2E_CLOUD_DATABASE_PASSWORD : $E2E_CLOUD_DATABASE_PASSWORD
@@ -27,31 +28,30 @@ services:
27
28
E2E_CLOUD_API_ACCESS_KEY : $E2E_CLOUD_API_ACCESS_KEY
28
29
E2E_CLOUD_API_SECRET_KEY : $E2E_CLOUD_API_SECRET_KEY
29
30
REMOTE_FOLDER_PATH : " /root/remote"
30
- entrypoint : [
31
- ' ./upload-custom-plugins.sh' ,
32
- ]
33
31
command : [
34
32
' ./wait-for-it.sh' , 'redis-enterprise:12000', '-s', '-t', '120',
35
33
' --' ,
36
34
' npm' , 'run', 'test:chrome:ci'
37
35
]
38
36
39
- # Redisinsight API + UI build
37
+ # Built image
40
38
app :
41
- cap_add :
42
- - IPC_LOCK
39
+ logging :
40
+ driver : none
41
+ image : redisinsight:amd64
43
42
env_file :
44
43
- ./.env
45
- build :
46
- context : ./../../
47
- dockerfile : Dockerfile
48
44
environment :
49
45
RI_ENCRYPTION_KEY : $E2E_RI_ENCRYPTION_KEY
50
46
RI_SERVER_TLS_CERT : $RI_SERVER_TLS_CERT
51
47
RI_SERVER_TLS_KEY : $RI_SERVER_TLS_KEY
52
48
volumes :
53
- - .redisinsight-app:/root/.redisinsight-app
54
- - ./test-data/certs:/root/certs
55
- - ./test-data/ssh:/root/ssh
49
+ - ./rihomedir:/data
50
+ - tmp:/tmp
51
+ - ./test-data:/test-data
56
52
ports :
57
53
- 5540:5540
54
+
55
+ volumes :
56
+ tmp :
57
+ rihomedir :
0 commit comments