🔥 Removing code or files.remove pigx-eureka and pigx-config service in docker-compose.yml file

This commit is contained in:
萌萌哒Sakura酱 committed 2019-04-20 19:07:09 +08:00
1 parent 1964b7f7c9
commit 81ce3b7b85
5 files changed
+2 -33

No files matched your search

-18
View File
@@ -27,24 +27,6 @@ services:
restart: always
container_name: pigx-redis
pigx-eureka:
build:
context: ./
dockerfile: ./pigx-eureka/Dockerfile
restart: always
container_name: pigx-eureka
image: pigx-eureka
ports:
- 8761:8761
pigx-config:
build:
context: ./
dockerfile: ./pigx-config/Dockerfile
restart: always
container_name: pigx-config
image: pigx-config
pigx-gateway:
build:
context: ./
@@ -16,6 +16,8 @@ db:
spring:
datasource:
platform: mysql
security:
enabled: false
server:
tomcat:
-3
View File
@@ -58,9 +58,6 @@
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<finalName>${project.name}</finalName>
</configuration>
</plugin>
</plugins>
</build>
@@ -18,10 +18,3 @@ security:
spring:
application:
name: @artifactId@
# 注册中心
eureka:
instance:
prefer-ip-address: true
client:
service-url:
defaultZone: http://pig:pig@${EUREKA-HOST:pigx-eureka}:${EUREKA-PORT:8761}/eureka/
-5
View File
@@ -70,11 +70,6 @@
</properties>
<dependencies>
<!--nacos discovery 客户端-->
<!--<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
</dependency>-->
<!--配置文件处理器-->
<dependency>
<groupId>org.springframework.boot</groupId>