This repository has been archived by the owner on Aug 12, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[breaking] Separate logging from default compose. (#94)
* [breaking] Separate logging from default compose. This commit will introduce a requirement on docker-compose 1.14.0 and a Boot2Docker version above 17.05 due to bugs in current stable Docker track. * Add comment in gitignore * Share boot2docker image URL between scripts * Fix README formatting * Fix scale-workers boot2docker image
- Loading branch information
Showing
8 changed files
with
96 additions
and
72 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
version: "3.1" | ||
|
||
services: | ||
elasticsearch: | ||
# This service only runs as one instance in our stack and is | ||
# used by Kibana (consuming) and Logstash (storing). | ||
image: docker.elastic.co/elasticsearch/elasticsearch:5.2.2 | ||
environment: | ||
ES_JAVA_OPTS: "-Xmx256m -Xms256m" | ||
xpack.security.enabled: "false" | ||
xpack.monitoring.enabled: "false" | ||
xpack.graph.enabled: "false" | ||
xpack.watcher.enabled: "false" | ||
deploy: | ||
placement: | ||
constraints: [node.role == manager] | ||
|
||
logstash: | ||
# Logstash runs as one instance on each node in the cluster | ||
# since it's using the UDP protocol. Pushes all its collected | ||
# logs to the elasticsearch instance. | ||
# See https://github.com/qlik-ea/qliktive-custom-analytics-logstash | ||
image: qlikea/qliktive-custom-analytics-logstash:master-32 | ||
ports: | ||
- "12201:12201/udp" | ||
environment: | ||
LS_JAVA_OPTS: "-Xmx256m -Xms256m" | ||
deploy: | ||
mode: global | ||
|
||
kibana: | ||
# Used for visualizing and viewing logs stored in elasticsearch. | ||
# See https://github.com/qlik-ea/qliktive-kibana-custom-analytics | ||
image: qlikea/qliktive-custom-analytics-kibana:master-3 | ||
deploy: | ||
placement: | ||
constraints: [node.role == manager] | ||
|
||
openresty: | ||
environment: | ||
KIBANA_HOST: kibana | ||
KIBANA_PORT: 5601 | ||
logging: | ||
driver: "gelf" | ||
options: | ||
gelf-address: "udp://localhost:12201" | ||
|
||
auth: | ||
logging: | ||
driver: "gelf" | ||
options: | ||
gelf-address: "udp://localhost:12201" | ||
|
||
mira: | ||
logging: | ||
driver: "gelf" | ||
options: | ||
gelf-address: "udp://localhost:12201" | ||
|
||
qix-engine: | ||
logging: | ||
driver: "gelf" | ||
options: | ||
gelf-address: "udp://localhost:12201" | ||
|
||
qix-session: | ||
logging: | ||
driver: "gelf" | ||
options: | ||
gelf-address: "udp://localhost:12201" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#!/bin/sh | ||
|
||
function boot2docker_iso() { | ||
echo "https://github.com/boot2docker/boot2docker/releases/download/v17.06.0-ce-rc3/boot2docker.iso" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters