代码拉取完成,页面将自动刷新
version: '3'
services:
mysql:
image: 'mysql:latest'
ports:
- 3306:3306
environment:
- MYSQL_ROOT_PASSWORD=root
volumes:
- ./db/sql/ini:/docker-entrypoint-initdb.d
redis:
image: 'redis:latest'
ports:
- 6379:6379
consul:
image: "hashicorp/consul:latest"
ports:
- "8500:8500"
environment:
CONSUL_BIND_INTERFACE: eth0
# Jaeger
jaeger-all-in-one:
container_name: jaeger-all-in-one
image: jaegertracing/all-in-one:1.35
ports:
- "16686:16686"
- "4317:4317"
- "4318:4318"
environment:
COLLECTOR_OTLP_ENABLED: true
prometheus:
image: prom/prometheus:latest
volumes:
- ./deploy/config/prometheus.yml:/etc/prometheus/prometheus.yml
command:
- "--config.file=/etc/prometheus/prometheus.yml"
ports:
- "9090:9090"
etcd:
image: docker.io/bitnami/etcd:3.5
environment:
- ALLOW_NONE_AUTHENTICATION=yes
ports:
- 2379:2379
- 2380:2380
nats:
image: nats:latest
ports:
- "4222:4222"
- "8222:8222"
grafana:
image: grafana/grafana:latest
environment:
- GF_AUTH_ANONYMOUS_ENABLED=true
- GF_AUTH_ANONYMOUS_ORG_ROLE=Admin
- GF_AUTH_DISABLE_LOGIN_FORM=true
ports:
- "3000:3000"
loki:
image: grafana/loki:2.9.2
volumes:
- ./deploy/config/loki.yml:/etc/loki/local-config.yaml
command: -config.file=/etc/loki/local-config.yaml
ports:
- "3100:3100"
promtail:
image: grafana/promtail:2.9.2
volumes:
- ./deploy/config/promtail.yml:/etc/promtail/config.yml
- ./app/frontend/log:/logs/frontend
- ./app/product/log:/logs/product
command: -config.file=/etc/promtail/config.yml
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。