# infrastructure-parent **Repository Path**: ab-code/infrastructure-parent ## Basic Information - **Project Name**: infrastructure-parent - **Description**: cloud platform infrastructure - **Primary Language**: Java - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2016-11-08 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README #云平台基础设施项目 ##Host配置 在生产环境下,我们往往会为每个应用配置一个host,使用host而非IP进行访问。为了更加贴近生产环境,以及后文Docker章节的讲解,我们配置一下Host。 > 1. Windows系统,`C:\Windows\System32\drivers\etc\hosts` 。 1. Linux系统下,`/etc/hosts` 。 ```bash 127.0.0.1 discovery config-server gateway movie user feign ``` #主机规划 | 项目名称 | 端口 | 描述 | URL | | ---------------------------------------- | ---- | ---------------------- | --------------- | | infrastructure-api-gateway | 8030 | API Gateway | 详见文章 | | infrastructure-config-server | 8020 | 配置服务 | 详见文章 | | infrastructure-discovery | 8010 | 注册中心 | / | | infrastructure-hystrix-dashboard | 8040 | hystrix监控 | /hystrix.stream | | infrastructure-hystrix-turbine | 8041 | turbine | /turbine.stream |