代码拉取完成,页面将自动刷新
同步操作将从 李康123/pigX 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
version: '3'
services:
pig-mysql:
environment:
MYSQL_ROOT_PASSWORD: root
restart: always
container_name: pig-mysql
image: docker.io/mysql:8.0.20
ports:
- 3307:3306
pig-redis:
image: redis:6.0
ports:
- 6379:6379
restart: always
container_name: pig-redis
hostname: pig-redis
pig-register:
restart: always
ports:
- 8848:8848
container_name: pig-register
hostname: pig-register
image: library/pig-register:2.8.1
#
# pig-gateway:
# build:
# context: ./pig-gateway
# restart: always
# ports:
# - 9999:9999
# container_name: pig-gateway
# hostname: pig-gateway
# image: pig-gateway
#
# pig-auth:
# build:
# context: ./pig-auth
# restart: always
# container_name: pig-auth
# hostname: pig-auth
# image: pig-auth
#
# pig-upms:
# build:
# context: ./pig-upms/pig-upms-biz
# restart: always
# container_name: pig-upms
# hostname: pig-upms
# image: pig-upms
#
# pig-monitor:
# build:
# context: ./pig-visual/pig-monitor
# restart: always
# ports:
# - 5001:5001
# container_name: pig-monitor
# hostname: pig-monitor
# image: pig-monitor
#
# pig-sentinel:
# build:
# context: ./pig-visual/pig-sentinel-dashboard
# restart: always
# image: pig-sentinel
# container_name: pig-sentinel
# ports:
# - 5003:5003
#
# pig-codegen:
# build:
# context: ./pig-visual/pig-codegen
# restart: always
# container_name: pig-codegen
# hostname: pig-codegen
# image: pig-codegen
elasticsearch:
image: elasticsearch:6.4.0
container_name: elasticsearch
environment:
- "cluster.name=elasticsearch" #设置集群名称为elasticsearch
- "discovery.type=single-node" #以单一节点模式启动
- "ES_JAVA_OPTS=-Xms512m -Xmx512m" #设置使用jvm内存大小
volumes:
- /home/datas/elasticsearch/plugins:/usr/share/elasticsearch/plugins #插件文件挂载
- /home/datas/elasticsearch/data:/usr/share/elasticsearch/data #数据文件挂载
ports:
- c:9200
kibana:
image: kibana:6.4.0
container_name: kibana
links:
- elasticsearch:es #可以用es这个域名访问elasticsearch服务
depends_on:
- elasticsearch #kibana在elasticsearch启动之后再启动
environment:
- "elasticsearch.hosts=http://es:9200" #设置访问elasticsearch的地址
ports:
- 5601:5601
logstash:
image: logstash:6.4.0
container_name: logstash
volumes:
- /home/datas/logstash/logstash.conf:/usr/share/logstash/pipeline/logstash.conf
depends_on:
- elasticsearch #kibana在elasticsearch启动之后再启动
links:
- elasticsearch:es #可以用es这个域名访问elasticsearch服务
ports:
- 4560:4560
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。