-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathorchestrator-compose.log.yaml
More file actions
131 lines (120 loc) · 2.99 KB
/
orchestrator-compose.log.yaml
File metadata and controls
131 lines (120 loc) · 2.99 KB
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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
version: '3'
# This in not a valid docker-compose file by itself!!
# Use this with the orchestrator-compose
# Ex) 'docker-compose ... -f orchestrator-compose.yaml -f orchestrator-compose.yaml ...'
volumes:
logger:
labels:
com.screaming_bunny.container: 'ES Logger'
com.screaming_bunny.description: 'Persistent Log Data Volume'
services:
producer-core:
logging:
driver: syslog
options:
syslog-address: 'udp://127.0.0.1:${LOG_PORT:-514}'
syslog-format: rfc5424
tag: "producer-core"
gui:
logging:
driver: syslog
options:
syslog-address: 'udp://127.0.0.1:${LOG_PORT:-514}'
syslog-format: rfc5424
tag: "gui"
transport-producer-https:
logging:
driver: syslog
options:
syslog-address: 'udp://127.0.0.1:${LOG_PORT:-514}'
syslog-format: rfc5424
tag: "transport-producer-https"
transport-producer-mqtt:
logging:
driver: syslog
options:
syslog-address: 'udp://127.0.0.1:${LOG_PORT:-514}'
syslog-format: rfc5424
tag: "transport-producer-mqtt"
queue:
logging:
driver: syslog
options:
syslog-address: 'udp://127.0.0.1:${LOG_PORT:-514}'
syslog-format: rfc5424
tag: "buffer"
database:
logging:
driver: syslog
options:
syslog-address: 'udp://127.0.0.1:${LOG_PORT:-514}'
syslog-format: rfc5424
tag: "database"
etcd:
logging:
driver: syslog
options:
syslog-address: 'udp://127.0.0.1:${LOG_PORT:-514}'
syslog-format: rfc5424
tag: "etcd"
logger_server:
hostname: logger_server
image: oif/logger:server
build:
context: ./logger/server
dockerfile: Dockerfile
environment:
ES_HOST: logger_elastic
ES_PORT: 9200
LOG_PREFIX: 'orchestrator'
HOST_PORT: ${LOG_PORT:-514}
ports:
- 127.0.0.1:${LOG_PORT:-514}:514/udp
volumes:
- ./logs:/var/log/syslog
external_links:
- logger_elastic
restart: on-failure:5
logger_gui:
hostname: logger_gui
image: oif/logger:gui
build:
context: ./logger/gui
dockerfile: Dockerfile
environment:
ES_HOST: logger_elastic
ES_PORT: 9200
ports:
- 8081:80
external_links:
- logger_elastic
depends_on:
- logger_server
logging:
driver: syslog
options:
syslog-address: 'udp://127.0.0.1:${LOG_PORT:-514}'
syslog-format: rfc5424
tag: "logger-gui"
restart: on-failure:5
logger_elastic:
hostname: logger_elastic
image: elasticsearch:7.5.1
env_file:
- ./environment/elastic.env
ulimits:
memlock:
soft: -1
hard: -1
volumes:
- logger:/usr/share/elasticsearch/data
ports:
- 9200:9200
depends_on:
- logger_server
logging:
driver: syslog
options:
syslog-address: 'udp://127.0.0.1:${LOG_PORT:-514}'
syslog-format: rfc5424
tag: "logger-es"