1 Star 0 Fork 7.8K

derekfan / Cloud-Platform

加入 Gitee
与超过 600 万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
docker-compose.yml 1.31 KB
一键复制 编辑 Web IDE 原始数据 按行查看 历史
架构小郎君 提交于 2018-01-13 15:14 . [Feature] 增加docker脚本
version: '2'
services:
eureka:
image: ag/ace-center
ports:
- "8761:8761"
ace-auth:
image: ag/ace-auth
ports:
- "9777:9777"
depends_on:
- eureka
environment:
- EUREKA_HOST=eureka
- EUREKA_PORT=8761
- REDIS_HOST=redis
- REDIS_PORT=6379
- MYSQL_HOST=mysql
- MYSQL_PORT=3306
- RABBIT_MQ_HOST=rabbitmq
- RABBIT_MQ_HOST=5672
ace-admin:
image: ag/ace-admin
ports:
- "8762:8762"
links:
- ace-auth
entrypoint: ./wait-for-it.sh ace-auth:9777 -t 600 --
command: java -Djava.security.egd=file:/dev/./urandom -jar /app.jar
environment:
- EUREKA_HOST=eureka
- EUREKA_PORT=8761
- REDIS_HOST=redis
- REDIS_PORT=6379
- MYSQL_HOST=mysql
- MYSQL_PORT=3306
- RABBIT_MQ_HOST=rabbitmq
- RABBIT_MQ_HOST=5672
ace-gate:
image: ag/ace-gate
ports:
- "8765:8765"
links:
- ace-auth
entrypoint: ./wait-for-it.sh ace-auth:9777 -t 600 --
command: java -Djava.security.egd=file:/dev/./urandom -jar /app.jar
environment:
- EUREKA_HOST=eureka
- EUREKA_PORT=8761
- RABBIT_MQ_HOST=rabbitmq
- RABBIT_MQ_HOST=5672
redis:
image: redis
restart: always
ports:
- "6379:6379"
volumes:
- ./.docker/redis:/var/lib/redis
Java
1
https://gitee.com/fsz521job/cloud-platform.git
git@gitee.com:fsz521job/cloud-platform.git
fsz521job
cloud-platform
Cloud-Platform
master

搜索帮助