Add .env.example and add eureka client
This commit is contained in:
3
.env.example
Normal file
3
.env.example
Normal file
@ -0,0 +1,3 @@
|
||||
KODIK_TOKEN=YOUR_KODIK_TOKEN
|
||||
EUREKA_SCHEMA=http
|
||||
EUREKA_HOST=localhost:8090
|
6
pom.xml
6
pom.xml
@ -33,6 +33,7 @@
|
||||
<retrofit.version>3.0.0</retrofit.version>
|
||||
<spring-dotenv.version>4.0.0</spring-dotenv.version>
|
||||
<springdoc-openapi-starter.version>2.8.9</springdoc-openapi-starter.version>
|
||||
<spring-eureka-client.version>4.3.0</spring-eureka-client.version>
|
||||
</properties>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
@ -60,6 +61,11 @@
|
||||
<artifactId>springdoc-openapi-starter-webmvc-ui</artifactId>
|
||||
<version>${springdoc-openapi-starter.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.cloud</groupId>
|
||||
<artifactId>spring-cloud-starter-netflix-eureka-client</artifactId>
|
||||
<version>${spring-eureka-client.version}</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
|
@ -1,3 +1,4 @@
|
||||
spring.application.name=anyame-backend
|
||||
server.error.include-message=always
|
||||
kodik.token=${KODIK_TOKEN}
|
||||
eureka.client.serviceUrl.defaultZone: ${EUREKA_SCHEMA}://${EUREKA_HOST}/eureka/
|
||||
|
Reference in New Issue
Block a user