加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
docker-compose.yml 1.45 KB
一键复制 编辑 原始数据 按行查看 历史
zhangl 提交于 2020-09-17 12:08 . 示例配置提交
version: '2.1'
services:
eureka:
image: ag/ace-center
ports:
- "8761:8761"
ace-auth:
image: ag/ace-auth
ports:
- "9777:9777"
links:
- eureka
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_PORT=5672
ace-admin:
image: ag/ace-admin
ports:
- "9990:9990"
links:
- ace-auth
- eureka
depends_on:
- eureka
- 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_PORT=5672
ace-gate:
image: ag/ace-gate
ports:
- "8765:8765"
links:
- ace-auth
- eureka
depends_on:
- eureka
- ace-auth
- redis
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_PORT=5672
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化