1 Star 0 Fork 1

gcy3y/gomall

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
docker-compose.yaml 1.71 KB
一键复制 编辑 原始数据 按行查看 历史
gcy3y 提交于 2024-08-26 10:51 . 优化
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
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/gcy3y/gomall.git
git@gitee.com:gcy3y/gomall.git
gcy3y
gomall
gomall
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385