File tree Expand file tree Collapse file tree 2 files changed +11
-8
lines changed Expand file tree Collapse file tree 2 files changed +11
-8
lines changed Original file line number Diff line number Diff line change @@ -66,10 +66,11 @@ jobs:
66
66
"docker rm e-commerce || true",
67
67
"docker run -d --name e-commerce \
68
68
-p 8080:8080 \
69
- -e DB_HOST=${{ secrets.DB_HOST }} \
70
- -e DB_NAME=${{ secrets.DB_NAME }} \
69
+ -e DB_URL=${{ secrets.DB_URL }} \
71
70
-e DB_USER=${{ secrets.DB_USER }} \
72
71
-e DB_PASSWORD=${{ secrets.DB_PASSWORD }} \
72
+ -e DB_SCHEMA=${{ secrets.DB_SCHEMA }} \
73
+ -e TOPIC_ARN=${{ secrets.TOPIC_ARN }} \
73
74
${{ secrets.DOCKERHUB_USERNAME }}/e-commerce:latest"
74
75
]' \
75
76
--timeout-seconds 600 \
Original file line number Diff line number Diff line change @@ -17,11 +17,11 @@ spring:
17
17
password : ${DB_PASSWORD}
18
18
hikari :
19
19
maximum-pool-size : 10
20
- idle-timeout : 600000 # 10 minutes
21
- max-lifetime : 1800000 # 30 minutes
22
- connection-timeout : 30000 # 30 seconds
23
- validation -timeout : 5000 # 5 seconds
24
- leak-detection-threshold : 2000 # 2 seconds
20
+ leak-detection-threshold : 2000
21
+ pool-name : HikariPool
22
+ connection-timeout : 30000
23
+ idle -timeout : 600000
24
+ max-lifetime : 1800000
25
25
connection-test-query : SELECT 1
26
26
jpa :
27
27
defer-datasource-initialization : true
@@ -33,4 +33,6 @@ spring:
33
33
logging :
34
34
level :
35
35
root : INFO
36
- dev.waltercrdz.api : INFO
36
+ dev.waltercrdz.api : INFO
37
+ com.zaxxer.hikari : DEBUG
38
+ org.hibernate : DEBUG
You can’t perform that action at this time.
0 commit comments