Commit b59fc9fc by 弓厶

调整发布到正式环境下的服务器配置

parent ce26d762
...@@ -95,7 +95,7 @@ spring: ...@@ -95,7 +95,7 @@ spring:
# republish failures to the DLQ with diagnostic headers # republish failures to the DLQ with diagnostic headers
republish-to-dlq: true republish-to-dlq: true
rabbitmq: rabbitmq:
host: rabbitmq host: 172.18.101.171
port: 5672 port: 5672
username: guest username: guest
password: guest password: guest
...@@ -104,9 +104,9 @@ spring: ...@@ -104,9 +104,9 @@ spring:
cluster: cluster:
max-redirects: 3 max-redirects: 3
nodes: nodes:
- redis:6379 - ${spring.redis.host}:${spring.redis.port}
database: 0 database: 0
host: redis host: 172.18.101.171
port: 6379 port: 6379
password: password:
lettuce: lettuce:
......
...@@ -70,7 +70,7 @@ spring: ...@@ -70,7 +70,7 @@ spring:
# republish failures to the DLQ with diagnostic headers # republish failures to the DLQ with diagnostic headers
republish-to-dlq: true republish-to-dlq: true
rabbitmq: rabbitmq:
host: rabbitmq host: 172.18.101.171
port: 5672 port: 5672
username: guest username: guest
password: guest password: guest
...@@ -79,9 +79,9 @@ spring: ...@@ -79,9 +79,9 @@ spring:
cluster: cluster:
max-redirects: 3 max-redirects: 3
nodes: nodes:
- redis:6379 - ${spring.redis.host}:${spring.redis.port}
database: 0 database: 0
host: redis host: 172.18.101.171
port: 6379 port: 6379
password: password:
lettuce: lettuce:
......
FROM openjdk:8-jre-alpine FROM openjdk:8-jre-alpine
LABEL maintainer="Liph <liph@gzwinsun.com>" app="gdtelgztelschoolcentercore" LABEL maintainer="Liph <liph@gzwinsun.com>" app="gdtelgztelschoolcentercore"
ENV JAR_NAME=applynet \ ENV JAR_NAME=core \
TZ=Asia/Shanghai TZ=Asia/Shanghai
COPY $JAR_NAME.jar $JAR_NAME.jar COPY $JAR_NAME.jar $JAR_NAME.jar
EXPOSE 11002 EXPOSE 11002
......
...@@ -5,8 +5,6 @@ services: ...@@ -5,8 +5,6 @@ services:
container_name: eureka container_name: eureka
ports: ports:
- "20000:20000" - "20000:20000"
depends_on:
- rabbitmq
deploy: deploy:
resources: resources:
limits: limits:
...@@ -19,7 +17,6 @@ services: ...@@ -19,7 +17,6 @@ services:
ports: ports:
- "10001:10001" - "10001:10001"
depends_on: depends_on:
- rabbitmq
- eureka - eureka
deploy: deploy:
resources: resources:
...@@ -33,7 +30,6 @@ services: ...@@ -33,7 +30,6 @@ services:
ports: ports:
- "10002:10002" - "10002:10002"
depends_on: depends_on:
- rabbitmq
- eureka - eureka
deploy: deploy:
resources: resources:
...@@ -49,9 +45,7 @@ services: ...@@ -49,9 +45,7 @@ services:
volumes: volumes:
- "./enclosure:/enclosure" - "./enclosure:/enclosure"
depends_on: depends_on:
- rabbitmq
- eureka - eureka
- redis
- gdtelgztelschoolcentercore - gdtelgztelschoolcentercore
deploy: deploy:
resources: resources:
...@@ -65,9 +59,7 @@ services: ...@@ -65,9 +59,7 @@ services:
ports: ports:
- "11191:11191" - "11191:11191"
depends_on: depends_on:
- rabbitmq
- eureka - eureka
- redis
- gdtelgztelschoolcentercore - gdtelgztelschoolcentercore
deploy: deploy:
resources: resources:
...@@ -81,9 +73,7 @@ services: ...@@ -81,9 +73,7 @@ services:
ports: ports:
- "11092:11092" - "11092:11092"
depends_on: depends_on:
- rabbitmq
- eureka - eureka
- redis
- gdtelgztelschoolcentercore - gdtelgztelschoolcentercore
deploy: deploy:
resources: resources:
...@@ -97,9 +87,7 @@ services: ...@@ -97,9 +87,7 @@ services:
ports: ports:
- "11093:11093" - "11093:11093"
depends_on: depends_on:
- rabbitmq
- eureka - eureka
- redis
- gdtelgztelschoolcentercore - gdtelgztelschoolcentercore
deploy: deploy:
resources: resources:
...@@ -113,9 +101,7 @@ services: ...@@ -113,9 +101,7 @@ services:
ports: ports:
- "11094:11094" - "11094:11094"
depends_on: depends_on:
- rabbitmq
- eureka - eureka
- redis
- gdtelgztelschoolcentercore - gdtelgztelschoolcentercore
deploy: deploy:
resources: resources:
...@@ -129,8 +115,6 @@ services: ...@@ -129,8 +115,6 @@ services:
ports: ports:
- "11090:11090" - "11090:11090"
depends_on: depends_on:
- rabbitmq
- redis
- eureka - eureka
- gateway - gateway
- gdtelgztelschoolcentercore - gdtelgztelschoolcentercore
......
...@@ -97,7 +97,7 @@ spring: ...@@ -97,7 +97,7 @@ spring:
# republish failures to the DLQ with diagnostic headers # republish failures to the DLQ with diagnostic headers
republish-to-dlq: true republish-to-dlq: true
rabbitmq: rabbitmq:
host: rabbitmq host: 172.18.101.171
port: 5672 port: 5672
username: guest username: guest
password: guest password: guest
...@@ -106,9 +106,9 @@ spring: ...@@ -106,9 +106,9 @@ spring:
cluster: cluster:
max-redirects: 3 max-redirects: 3
nodes: nodes:
- redis:6379 - ${spring.redis.host}:${spring.redis.port}
database: 0 database: 0
host: redis host: 172.18.101.171
port: 6379 port: 6379
password: password:
lettuce: lettuce:
......
...@@ -95,7 +95,7 @@ spring: ...@@ -95,7 +95,7 @@ spring:
# republish failures to the DLQ with diagnostic headers # republish failures to the DLQ with diagnostic headers
republish-to-dlq: true republish-to-dlq: true
rabbitmq: rabbitmq:
host: rabbitmq host: 172.18.101.171
port: 5672 port: 5672
username: guest username: guest
password: guest password: guest
...@@ -104,9 +104,9 @@ spring: ...@@ -104,9 +104,9 @@ spring:
cluster: cluster:
max-redirects: 3 max-redirects: 3
nodes: nodes:
- redis:6379 - ${spring.redis.host}:${spring.redis.port}
database: 0 database: 0
host: redis host: 172.18.101.171
port: 6379 port: 6379
password: password:
lettuce: lettuce:
......
...@@ -95,7 +95,7 @@ spring: ...@@ -95,7 +95,7 @@ spring:
# republish failures to the DLQ with diagnostic headers # republish failures to the DLQ with diagnostic headers
republish-to-dlq: true republish-to-dlq: true
rabbitmq: rabbitmq:
host: rabbitmq host: 172.18.101.171
port: 5672 port: 5672
username: guest username: guest
password: guest password: guest
...@@ -104,9 +104,9 @@ spring: ...@@ -104,9 +104,9 @@ spring:
cluster: cluster:
max-redirects: 3 max-redirects: 3
nodes: nodes:
- redis:6379 - ${spring.redis.host}:${spring.redis.port}
database: 0 database: 0
host: redis host: 172.18.101.171
port: 6379 port: 6379
password: password:
lettuce: lettuce:
......
...@@ -95,7 +95,7 @@ spring: ...@@ -95,7 +95,7 @@ spring:
# republish failures to the DLQ with diagnostic headers # republish failures to the DLQ with diagnostic headers
republish-to-dlq: true republish-to-dlq: true
rabbitmq: rabbitmq:
host: rabbitmq host: 172.18.101.171
port: 5672 port: 5672
username: guest username: guest
password: guest password: guest
...@@ -104,9 +104,9 @@ spring: ...@@ -104,9 +104,9 @@ spring:
cluster: cluster:
max-redirects: 3 max-redirects: 3
nodes: nodes:
- redis:6379 - ${spring.redis.host}:${spring.redis.port}
database: 0 database: 0
host: redis host: 172.18.101.171
port: 6379 port: 6379
password: password:
lettuce: lettuce:
......
...@@ -96,7 +96,7 @@ spring: ...@@ -96,7 +96,7 @@ spring:
# republish failures to the DLQ with diagnostic headers # republish failures to the DLQ with diagnostic headers
republish-to-dlq: true republish-to-dlq: true
rabbitmq: rabbitmq:
host: rabbitmq host: 172.18.101.171
port: 5672 port: 5672
username: guest username: guest
password: guest password: guest
...@@ -105,9 +105,9 @@ spring: ...@@ -105,9 +105,9 @@ spring:
cluster: cluster:
max-redirects: 3 max-redirects: 3
nodes: nodes:
- redis:6379 - ${spring.redis.host}:${spring.redis.port}
database: 0 database: 0
host: redis host: 172.18.101.171
port: 6379 port: 6379
password: password:
lettuce: lettuce:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment