-
Notifications
You must be signed in to change notification settings - Fork 1
compose
version: '3'
services:
config-server:
image: config-server
container_name: config-server
expose:
- "8888"
ports:
- "8888:8888"
enviroment:
CONFIG_SERVER_URL: "http://config-server:8888"
GRAPHITE-HOST: "graphite"
ADMIN-SERVER: "http://admin-dashboard:8040"
EUREKA_SERVER: "http://eureka-point:8761/eureka/"
eureka-point:
image: eureka-point
container_name: eureka-point
links:
- config-server
expose:
- "8761"
ports:
- "8761:8761"
enviroment:
CONFIG_SERVER_URL: "http://config-server:8888"
GRAPHITE-HOST: "graphite"
ADMIN-SERVER: "http://admin-dashboard:8040"
EUREKA_SERVER: "http://eureka-point:8761/eureka/"
redis:
container_name: redis
image: redis
expose:
- "6379"
admin-dashboard:
image: admin-dashboard
container_name: admin-dashboard
links:
- config-server
- eureka-point
expose:
- "8040"
ports:
- "8040:8040"
enviroment:
CONFIG_SERVER_URL: "http://config-server:8888"
GRAPHITE-HOST: "http://graphite"
ADMIN-SERVER: "http://admin-dashboard:8040"
EUREKA_SERVER: "http://eureka-point:8761/eureka/"
hystrix-dashboard:
image: hystrix-dashboard
container_name: hystrix-dashboard
links:
- config-server
- eureka-point
- admin-dashboard
expose:
- "8050"
ports:
- "8050:8050"
enviroment:
CONFIG_SERVER_URL: "http://config-server:8888"
GRAPHITE-HOST: "http://graphite"
ADMIN-SERVER: "http://admin-dashboard:8040"
EUREKA_SERVER: "http://eureka-point:8761/eureka/"
ZIPKIN-SERVER: "http://zipkin-dashboard:8060"
zipkin-dashboard:
image: zipkin-dashboard
container_name: zipkin-dashboard
links:
- config-server
- eureka-point
- admin-dashboard
expose:
- "8060"
ports:
- "8060:8060"
enviroment:
CONFIG_SERVER_URL: "http://config-server:8888"
GRAPHITE-HOST: "http://graphite"
ADMIN-SERVER: "http://admin-dashboard:8040"
EUREKA_SERVER: "http://eureka-point:8761/eureka/"
ZIPKIN-SERVER: "http://zipkin-dashboard:8060"
microservices-dashboard:
image: microservices-dashboard
container_name: microservices-dashboard
links:
- config-server
- eureka-point
- admin-dashboard
expose:
- "8070"
ports:
- "8070:8070"
enviroment:
CONFIG_SERVER_URL: "http://config-server:8888"
GRAPHITE-HOST: "http://graphite"
ADMIN-SERVER: "http://admin-dashboard:8040"
EUREKA_SERVER: "http://eureka-point:8761/eureka/"
gateway-server:
image: gateway-server
container_name: gateway-server
links:
- config-server
- eureka-point
- redis
- admin-dashboard
- zipkin-dashboard
expose:
- "9001"
ports:
- "9001:9001"
enviroment:
CONFIG_SERVER_URL: "http://config-server:8888"
GRAPHITE-HOST: "http://graphite"
ADMIN-SERVER: "http://admin-dashboard:8040"
EUREKA_SERVER: "http://eureka-point:8761/eureka/"
ZIPKIN-SERVER: "http://zipkin-dashboard:8060"
UAA-HOST_BASE: "http://gateway-server:9020/uaa/"
UAA-TOKEN: "http://gateway-server:9020/uaa/oauth/check_token"
UAA-USER-INFO-URI: "http://gateway-server:9020/uaa/oauth2/user"
UAA-HOST-TOKEN-URI: "http://gateway-server:9020/uaa/oauth/token"
UAA-HOST-AUTH-URI: "http://gateway-server:9020/uaa/oauth/authorize"
car-service:
image: car-service
container_name: car-service
links:
- config-server
- eureka-point
- admin-dashboard
- zipkin-dashboard
expose:
- "9010"
ports:
- "9010:9010"
enviroment:
CONFIG_SERVER_URL: "http://config-server:8888"
GRAPHITE-HOST: "http://graphite"
ADMIN-SERVER: "http://admin-dashboard:8040"
EUREKA_SERVER: "http://eureka-point:8761/eureka/"
ZIPKIN-SERVER: "http://zipkin-dashboard:8060"
NBP-HOST: "nbp-service"
NBP-HOST1: "nbp-service1"
NBP-HOST2: "nbp-service2"
UAA-HOST_BASE: "http://car-service:9020/"
UAA-TOKEN: "http://car-service:9020/oauth/check_token"
UAA-USER-INFO-URI: "http://car-service:9020/oauth2/user"
UAA-HOST-TOKEN-URI: "http://car-service:9020/oauth/token"
UAA-HOST-AUTH-URI: "http://car-service:9020/oauth/authorize"
nbp-service:
image: nbp-service
container_name: nbp-service
links:
- config-server
- eureka-point
- admin-dashboard
- zipkin-dashboard
expose:
- "9040"
ports:
- "9040:9040"
enviroment:
CONFIG_SERVER_URL: "http://config-server:8888"
GRAPHITE-HOST: "http://graphite"
ADMIN-SERVER: "http://admin-dashboard:8040"
EUREKA_SERVER: "http://eureka-point:8761/eureka/"
ZIPKIN-SERVER: "http://zipkin-dashboard:8060"
nbp-service:
image: nbp-service
container_name: nbp-service1
links:
- config-server
- eureka-point
- admin-dashboard
- zipkin-dashboard
expose:
- "9040"
ports:
- "9041:9040"
enviroment:
CONFIG_SERVER_URL: "http://config-server:8888"
GRAPHITE-HOST: "http://graphite"
ADMIN-SERVER: "http://admin-dashboard:8040"
EUREKA_SERVER: "http://eureka-point:8761/eureka/"
ZIPKIN-SERVER: "http://zipkin-dashboard:8060"
nbp-service:
image: nbp-service
container_name: nbp-service2
links:
- config-server
- eureka-point
- admin-dashboard
- zipkin-dashboard
expose:
- "9040"
ports:
- "9042:9040"
enviroment:
CONFIG_SERVER_URL: "http://config-server:8888"
GRAPHITE-HOST: "http://graphite"
ADMIN-SERVER: "http://admin-dashboard:8040"
EUREKA_SERVER: "http://eureka-point:8761/eureka/"
ZIPKIN-SERVER: "http://zipkin-dashboard:8060"
user-service:
image: user-service
container_name: user-service
links:
- config-server
- eureka-point
- nbp-service
- admin-dashboard
- zipkin-dashboard
expose:
- "9020"
ports:
- "9020:9020"
enviroment:
CONFIG_SERVER_URL: "http://config-server:8888"
GRAPHITE-HOST: "http://graphite"
ADMIN-SERVER: "http://admin-dashboard:8040"
EUREKA_SERVER: "http://eureka-point:8761/eureka/"
ZIPKIN-SERVER: "http://zipkin-dashboard:8060"
NBP-HOST: "nbp-service"
NBP-HOST1: "nbp-service1"
NBP-HOST2: "nbp-service2"
UAA-HOST_BASE: "http://user-service:9020/"
UAA-TOKEN: "http://user-service:9020/oauth/check_token"
UAA-USER-INFO-URI: "http://user-service:9020/oauth2/user"
UAA-HOST-TOKEN-URI: "http://user-service:9020/oauth/token"
UAA-HOST-AUTH-URI: "http://localhost:9020/oauth/authorize"
graphite:
image: hopsoft/graphite-statsd
container_name: graphite
expose:
- "80"
ports:
- "2003:2003"
- "2004:2004"
- "2023:2023"
- "2024:2024"
- "8125:8125"
- "8126:8126"
grafana:
image: grafana/grafana
expose:
- "3000"
ports:
- "3000:3000"