Commit b59fc9fc by 弓厶

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

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