Skip to content

Commit

Permalink
Merge branch 'main' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
MilePrastalo committed Sep 15, 2021
2 parents bb2dba6 + 2cc0663 commit 2807e5e
Showing 1 changed file with 42 additions and 0 deletions.
42 changes: 42 additions & 0 deletions src/main/resources/application.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
server:
port: 0

spring:
application:
name: admin-service
datasource:
driver-class-name: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://localhost:3306/nistagramAdmin?useSSL=false&createDatabaseIfNotExist=true&serverTimezone=Europe/Belgrade
username: root
password: root
dbcp2:
test-while-idle: true
validation-query: SELECT 1
continue-on-error: true
jpa:
hibernate:
ddl-auto: update
show-sql: true
jwt:
secret: Agent

eureka:
client:
service-url:
defaultZone: http://localhost:8762/eureka
register-with-eureka: true
fetch-registry: true
healthcheck:
enabled: true
instance:
hostname: localhost
instance-id: ${spring.application.name}:${random.int}
lease-renewal-interval-in-seconds: 1
lease-expiration-duration-in-seconds: 2
nonSecurePortEnabled: true
securePortEnabled: false
securePort: ${server.port}

api:
userService: http://localhost:8081/user-service/user
postService: http://localhost:8081/post-service/post

0 comments on commit 2807e5e

Please sign in to comment.