Skip to content
Snippets Groups Projects
Commit 80cc2165 authored by nicolas's avatar nicolas
Browse files

change mongodb connexion on ovh k8s

parent 09d1bdaf
No related branches found
No related tags found
No related merge requests found
......@@ -7,17 +7,20 @@ spring.jackson.serialization.indent_output=true
server.port=8080
# 3. MongoDB configuration.
#spring.data.mongodb.uri=mongodb:user@password//10.6.10.9:27017/fdp (alternative)
spring.data.mongodb.host=10.6.10.9
#spring.data.mongodb.uri=mongodb://admin:adminadmin@51.178.69.150:27017/fdp?authSource=admin
spring.data.mongodb.host=51.178.69.150
spring.data.mongodb.port=27017
spring.data.mongodb.database=fdp
spring.data.mongodb.authentication-database=admin
spring.data.mongodb.username=admin
spring.data.mongodb.password=adminadmin
# 4. Logging configuration.
logging.level.com.assignment.springboot.mongo=DEBUG
logging.pattern.console= %d{yyyy-MM-dd HH:mm:ss} - %msg%n
# 5. CORS
cors.allowed-origins = http://10.100.129.51,10.100.129.51,http://vps795748.ovh.net,http://localhost:4200,http://145.239.92.134,http://10.100.129.33,http://pastis.cines.fr,pastis.cines.fr
cors.allowed-origins = http://localhost:4200
# 6.JWT
smartharvester.app.jwt.header=Authorization
......@@ -32,8 +35,6 @@ springdoc.swagger-ui.path=/smart-harvester/open-api.html
springdoc.model-and-view-allowed=false
# 8. Error Handling
server.error.whitelabel.enabled=false
server.error.path=/error
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment