add mysql driver
This commit is contained in:
parent
8f2a6ad366
commit
a798492377
@ -6,6 +6,7 @@ spring:
|
|||||||
username: ${DB_USERNAME}
|
username: ${DB_USERNAME}
|
||||||
password: ${DB_PASSWORD}
|
password: ${DB_PASSWORD}
|
||||||
url: ${DB_URL}
|
url: ${DB_URL}
|
||||||
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
||||||
# username: root
|
# username: root
|
||||||
# password: hRMH94dJ
|
# password: hRMH94dJ
|
||||||
# url: jdbc:mysql://localhost:3306/search_engine?useSSL=false&requireSSL=false&allowPublicKeyRetrieval=true
|
# url: jdbc:mysql://localhost:3306/search_engine?useSSL=false&requireSSL=false&allowPublicKeyRetrieval=true
|
||||||
|
@ -8,7 +8,5 @@ services:
|
|||||||
ports:
|
ports:
|
||||||
- "8087:8080"
|
- "8087:8080"
|
||||||
restart: always
|
restart: always
|
||||||
environment:
|
env_file:
|
||||||
- DB_USER=${DB_USER}
|
- .env
|
||||||
- DB_PASSWORD=${DB_PASSWORD}
|
|
||||||
- DB_URL=${DB_URL}
|
|
Loading…
x
Reference in New Issue
Block a user