skip to Main Content

From where my springboot app loads database? – Mysql

I'm trying to link a project to a database My application.properties file spring.jpa.properties.hibernate.temp.use_jdbc_metadata_defaults=false Config file @Configuration @EnableTransactionManagement public class DBConfig { @Bean public DataSource dataSource() { HikariConfig config = new HikariConfig(); config.setJdbcUrl("jdbc:mysql://localhost:3306/users"); config.setUsername("root"); config.setPassword("1111"); config.addDataSourceProperty("cachePrepStmts", "true"); config.addDataSourceProperty("prepStmtCacheSize", "250"); config.addDataSourceProperty("prepStmtCacheSqlLimit", "2048");…

VIEW QUESTION

Spring Boot Swagger through Nginx does not work correctly – Javascript

I have configured two services running in separate containers through nginx. Nginx configuration: server { listen 8080; location /template-order-service/ { proxy_pass_request_headers on; proxy_set_header Host $host; proxy_pass http://template-order-service:8082/; } location /template-product-service/ { proxy_pass_request_headers on; proxy_set_header Host $host; proxy_pass http://template-product-service:8083/; } }…

VIEW QUESTION
Back To Top
Search