File tree Expand file tree Collapse file tree 2 files changed +14
-2
lines changed Expand file tree Collapse file tree 2 files changed +14
-2
lines changed Original file line number Diff line number Diff line change 1
1
FROM tensorflow/tensorflow:latest
2
2
3
- ENV dataset=sqli_dataset1 .csv
3
+ ENV dataset=sqli_dataset2 .csv
4
4
ENV KMP_AFFINITY=noverbose
5
5
ENV TF_CPP_MIN_LOG_LEVEL=3
6
6
ENV DATASET_PATH=/app/${dataset}
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ services:
21
21
ports :
22
22
- " 8500:8500"
23
23
- " 8501:8501"
24
- postgres :
24
+ postgres1 :
25
25
image : postgres:latest
26
26
environment :
27
27
- POSTGRES_USER=postgres
@@ -33,3 +33,15 @@ services:
33
33
retries : 5
34
34
ports :
35
35
- " 5432:5432"
36
+ postgres2 :
37
+ image : postgres:latest
38
+ environment :
39
+ - POSTGRES_USER=postgres
40
+ - POSTGRES_PASSWORD=postgres
41
+ healthcheck :
42
+ test : ["CMD-SHELL", "pg_isready -U postgres"]
43
+ interval : 5s
44
+ timeout : 5s
45
+ retries : 5
46
+ ports :
47
+ - " 5433:5432"
You can’t perform that action at this time.
0 commit comments