This file contains hidden or 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
| Step 16 : RUN /bin/bash /graylog2-server-master/install-syslog4j-jar.sh | |
| ---> Running in 2be6f5b9021e | |
| Installing our provided syslog4j fork .jar to local mvn repository for great justice! | |
| [INFO] Scanning for projects... | |
| Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-install-plugin/2.3/maven-install-plugin-2.3.pom | |
| Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-install-plugin/2.3/maven-install-plugin-2.3.pom (5 KB at 17.0 KB/sec) | |
| Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-plugins/13/maven-plugins-13.pom | |
| Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-plugins/13/maven-plugins-13.pom (12 KB at 319.7 KB/sec) | |
| Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-install-plugin/2.3/maven-install-plugin-2.3.jar | |
| Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-install-plugin/2.3/maven-install-plugin-2.3.jar (23 KB at 482.6 KB/sec) |
This file contains hidden or 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
| ENV PLAYVERSION 2.2.2 | |
| RUN wget http://downloads.typesafe.com/play/$PLAYVERSION/play-$PLAYVERSION.zip && \ | |
| unzip play-$PLAYVERSION.zip && \ | |
| rm play-$PLAYVERSION.zip && \ | |
| chmod a+x play-$PLAYVERSION/play && \ | |
| ln -s /play-$PLAYVERSION/play /usr/bin/play | |
| RUN chmod +x /graylog2-server-master/build_script/build_server_release.sh | |
| RUN cd /graylog2-server-master/build_script && \ |
This file contains hidden or 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
| Step 17 : RUN cd graylog2-web-interface && play update | |
| /content/repositories/snapshots"' >> /graylog2-web-interface/modules/graylog2-rest-client/build | |
| ---> Running in f289e048b2f5 | |
| Getting org.scala-sbt sbt 0.13.0 ... | |
| :: retrieving :: org.scala-sbt#boot-app | |
| confs: [default] | |
| 43 artifacts copied, 0 already retrieved (12440kB/151ms) | |
| [info] Loading project definition from /graylog2-web-interface/project | |
| [info] Set current project to graylog2-web-interface (in build file:/graylog2-web-interface/) | |
| [info] Updating {file:/graylog2-web-interface/}graylog2-rest-client... |
This file contains hidden or 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
| # my setup has graylog2 installed at /opt/graylog2-server | |
| # create the plugins dir since it doesn't exist (plugin is the g2 plugin dir) | |
| mkdir -p /opt/graylog2-server/plugins/ | |
| # install kopf | |
| wget -q https://github.com/lmenezes/elasticsearch-kopf/archive/0.90.zip | |
| unzip 0.90.zip && rm 0.90.zip | |
| mkdir -p /opt/graylog2-server/plugins/kopf | |
| mv elasticsearch-kopf-0.90 /opt/graylog2-server/plugins/kopf/_site |
This file contains hidden or 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
| sed -i -e "s/#elasticsearch_config_file = /etc/graylog2-elasticsearch.yml/elasticsearch_config_file = /etc/graylog2-elasticsearch.yml/" /etc/graylog2.conf |
This file contains hidden or 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
| Vagrant.configure("2") do |config| | |
| config.librarian_puppet.puppetfile_dir = "puppet" | |
| # placeholder_filename defaults to .PLACEHOLDER | |
| config.librarian_puppet.placeholder_filename = ".MYPLACEHOLDER" | |
| config.vm.provision :puppet do |puppet| | |
| puppet.modules = "puppet/modules" | |
| ... |
This file contains hidden or 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
| #!/bin/sh | |
| readonly GRAYLOG_CONFIG=/etc/graylog2.conf | |
| readonly SUPERVISORD_CONF=/etc/supervisor/conf.d/supervisord-graylog.conf | |
| is_easticsearch_cluster_defined() { | |
| [[ -n "$ES_CLUSTER_HOSTS" ]] | |
| } | |
| is_cors_enabled() { |
This file contains hidden or 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
| Vagrant.configure("2") do |config| | |
| config.vm.provider "docker" do |d| | |
| d.image = "orchardup/jenkins" | |
| d.ports = ["8080:8080"] | |
| end | |
| end |
This file contains hidden or 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
| Vagrant.configure("2") do |config| | |
| config.vm.network :forwarded_port, guest: 5432, host: 5432 | |
| config.vm.provider "docker" do |d| | |
| d.image = "jamesbrink/postgresql" | |
| d.env = { | |
| "USER" => "super", | |
| "PASSWORD" => "clever", | |
| "SCHEMA" => "contacts" | |
| } | |
| d.ports = ["5432:5432"] |
This file contains hidden or 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
| Vagrant.configure("2") do |config| | |
| config.vm.provider "docker" do |d| | |
| d.image = "paintedfox/postgresql" | |
| d.env = { | |
| "USER" => "super", | |
| "PASS" => "clever", | |
| "DB" => "contacts" | |
| } | |
| d.ports = ["5432:5432"] | |
| d.volumes = ["#{Dir.pwd}/data:/data"] |