forked from exceptionless/Exceptionless
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
115 lines (107 loc) · 3.11 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
version: '3.4'
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:1
environment:
cluster.name: 'exceptionless'
bootstrap.memory_lock: 'true'
discovery.type: single-node
ES_JAVA_OPTS: '-Xms512m -Xmx512m'
xpack.security.enabled: 'false'
xpack.graph.enabled: 'false'
xpack.watcher.enabled: 'false'
ports:
- 9200:9200
- 9300:9300
ulimits:
memlock:
soft: -1
hard: -1
volumes:
- esdata:/usr/share/elasticsearch/data
kibana:
depends_on:
- elasticsearch
image: exceptionless/kibana:1
environment:
xpack.security.enabled: 'false'
ports:
- 5601:5601
redis:
image: redis:alpine
ports:
- 6379:6379
volumes:
esdata:
driver: local
appdata:
driver: local
ssldata:
driver: local