1 Star 0 Fork 0

码农搞事情 / Exceptionless

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
docker-compose.yml 2.88 KB
一键复制 编辑 原始数据 按行查看 历史
Eric J. Smith 提交于 2020-03-03 10:47 . Minor k8s updates
version: '3.7'
services:
api:
depends_on:
- elasticsearch
- redis
build:
context: .
target: api
image: exceptionless/api:latest
environment:
EX_AppMode: Production
EX_BaseURL: http://ex-ui.localtest.me:5100 #URL to UI
EX_ConnectionStrings__Cache: provider=redis
EX_ConnectionStrings__Elasticsearch: server=http://elasticsearch:9200
#EX_ConnectionStrings__Email: smtps://user:password@smtp.host.com:587
EX_ConnectionStrings__MessageBus: provider=redis
#EX_ConnectionStrings__Metrics: provider=statsd;server=statsd;
EX_ConnectionStrings__Queue: provider=redis
EX_ConnectionStrings__Redis: server=redis,abortConnect=false
EX_ConnectionStrings__Storage: provider=folder;path=/app/storage
EX_RunJobsInProcess: 'false'
ports:
- 5000:80 # This can be commented out if using reverse proxy.
volumes:
- appdata:/app/storage
jobs:
depends_on:
- api
build:
context: .
target: job
image: exceptionless/job:latest
environment:
EX_AppMode: Production
EX_BaseURL: http://ex-ui.localtest.me:5100
EX_ConnectionStrings__Cache: provider=redis
EX_ConnectionStrings__Elasticsearch: server=http://elasticsearch:9200
#EX_ConnectionStrings__Email: smtps://user:password@smtp.host.com:587
EX_ConnectionStrings__MessageBus: provider=redis
#EX_ConnectionStrings__Metrics: provider=statsd;server=statsd;
EX_ConnectionStrings__Queue: provider=redis
EX_ConnectionStrings__Redis: server=redis,abortConnect=false
EX_ConnectionStrings__Storage: provider=folder;path=/app/storage
volumes:
- appdata:/app/storage
ui:
image: exceptionless/ui:latest
environment:
AppMode: Development
EX_ApiUrl: http://ex-api.localtest.me:5000
#EX_Html5Mode: 'false'
#EX_EnableSsl: 'false'
#EX_EnableAccountCreation: 'false'
ports:
- 5100:80 # This can be commented out if using reverse proxy.
# reverseproxy:
# depends_on:
# - api
# - ui
# image: valian/docker-nginx-auto-ssl
# ports:
# - 80:80
# - 443:443
# volumes:
# - ssldata:/etc/resty-auto-ssl
# environment:
# ALLOWED_DOMAINS: '(ex-ui|ex-api).mydomainn.com'
# SITES: 'ex-ui.mydomainn.com=ui;ex-api.mydomainn.com=api'
elasticsearch:
image: exceptionless/elasticsearch:7.6.0
environment:
discovery.type: single-node
xpack.security.enabled: 'false'
ES_JAVA_OPTS: -Xms512m -Xmx512m
ports:
- 9200:9200
- 9300:9300
volumes:
- esdata7:/usr/share/elasticsearch/data
kibana:
depends_on:
- elasticsearch
image: docker.elastic.co/kibana/kibana:7.6.0
ports:
- 5601:5601
redis:
image: redis:5.0-alpine
ports:
- 6379:6379
volumes:
esdata7:
driver: local
appdata:
driver: local
ssldata:
driver: local
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/fmp/Exceptionless.git
git@gitee.com:fmp/Exceptionless.git
fmp
Exceptionless
Exceptionless
master

搜索帮助

344bd9b3 5694891 D2dac590 5694891