代码拉取完成,页面将自动刷新
version: '3.6'
services:
nginx:
image: registry.cn-hangzhou.aliyuncs.com/bgxq/nginx:latest
container_name: bgxq-nginx
networks:
- bgxq-network
ports:
- "80:80"
volumes:
- bgxq-nginx:/etc/nginx
depends_on:
- springboot
elasticsearch:
image: registry.cn-hangzhou.aliyuncs.com/bgxq/elasticsearch:latest
container_name: bgxq-es
environment:
- node.name=es-node-1
- discovery.type=single-node
- ES_JAVA_OPTS=-Xms2g -Xmx2g
ports:
- 9200:9200
- 9300:9300
volumes:
- bgxq-es:/usr/share/elasticsearch
networks:
- bgxq-network
logstash:
image: registry.cn-hangzhou.aliyuncs.com/bgxq/logstash:latest
container_name: bgxq-logstash
ports:
- 5044:5044
volumes:
- bgxq-logstash:/usr/share/logstash
- bgxq-log:/usr/share/logstash/logs/bgxq
# environment:
# LS_JAVA_OPTS: "-Xmx256m -Xms256m"
networks:
- bgxq-network
depends_on:
- elasticsearch
kibana:
image: registry.cn-hangzhou.aliyuncs.com/bgxq/kibana:latest
container_name: bgxq-kibana
ports:
- 5601:5601
volumes:
- bgxq-kibana:/usr/share/kibana/config
# environment:
# - ELASTICSEARCH_URL=http://elasticsearch:9200
# - ELASTICSEARCH_HOSTS=http://elasticsearch:9200
networks:
- bgxq-network
depends_on:
- elasticsearch
springboot:
image: registry.cn-hangzhou.aliyuncs.com/bgxq/springboot:latest
container_name: bgxq-springboot
networks:
- bgxq-network
ports:
- "20000:20000"
volumes:
- bgxq-log:/app/log
depends_on:
- mysql
- redis
- elasticsearch
- logstash
rails:
image: registry.cn-hangzhou.aliyuncs.com/bgxq/rails:latest
container_name: bgxq-rails
networks:
- bgxq-network
ports:
- "20001:20001"
environment:
MYSQL_USER: lizijian
MYSQL_PASSWORD: "595595"
depends_on:
- springboot
backend:
image: registry.cn-hangzhou.aliyuncs.com/bgxq/backend:latest
container_name: bgxq-backend
networks:
- bgxq-network
ports:
- "3001:3001"
environment:
NODE_ENV: 'production'
depends_on:
- springboot
mysql:
image: registry.cn-hangzhou.aliyuncs.com/bgxq/mysql:latest
container_name: bgxq-mysql
networks:
- bgxq-network
ports:
- "3306:3306"
volumes:
- bgxq-mysql:/var/lib/mysql
environment:
MYSQL_ROOT_PASSWORD: 595595
MYSQL_DATABASE: bgxq
MYSQL_USER: lizijian
MYSQL_PASSWORD: 595595
redis:
image: registry.cn-hangzhou.aliyuncs.com/bgxq/redis:latest
container_name: bgxq-redis
networks:
- bgxq-network
ports:
- "6379:6379"
volumes:
- bgxq-redis:/data
networks:
bgxq-network:
driver: bridge
volumes:
bgxq-es:
driver: local
bgxq-redis:
driver: local
bgxq-mysql:
driver: local
bgxq-log:
driver: local
bgxq-logstash:
driver: local
bgxq-nginx:
driver: local
bgxq-kibana:
driver: local
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。