FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

cloud-service-client pom add docker plugin · JavaNick/spring-cloud-example@0b48add · GitHub

Commit 0b48add

Browse files
zhaozhou
committed
cloud-service-client pom add docker plugin
1 parent 6a95b51 commit 0b48add

3 files changed

Lines changed: 8 additions & 4 deletions

File tree

‎cloud-service-client/pom.xml‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,10 @@
6262
<groupId>org.springframework.boot</groupId>
6363
<artifactId>spring-boot-maven-plugin</artifactId>
6464
</plugin>
65+
<plugin>
66+
<groupId>com.spotify</groupId>
67+
<artifactId>docker-maven-plugin</artifactId>
68+
</plugin>
6569
</plugins>
6670
</build>
6771

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
spring.application.name=client-server
22
server.port=9005
33

4-
spring.cloud.config.uri=http://config:9001/
5-
eureka.client.serviceUrl.defaultZone=http://discovery:9002/eureka/
4+
spring.cloud.config.uri=http://config:9000/
5+
eureka.client.serviceUrl.defaultZone=http://discovery:9001/eureka/

‎docker-compose.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ services:
3333
- "9005:9005"
3434
links:
3535
- config:config
36-
- eureka:discovery
37-
- user:user
36+
- eureka:discovery
37+
- user:user
3838

3939
gateway:
4040
image: erdaoya/cloud-api-gateway

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL