Inspired By: grafana/loki#333
- docker-compose.yml
version: "3"
networks:
loki:
sudo yum update | |
sudo yum install -y tar wget | |
# Install Mesos dependencies | |
sudo wget http://repos.fedorapeople.org/repos/dchen/apache-maven/epel-apache-maven.repo -O /etc/yum.repos.d/epel-apache-maven.repo | |
#sudo vi /etc/yum.repos.d/wandisco-svn.repo and add the following content | |
#[WANdiscoSVN] | |
#name=WANdisco SVN Repo 1.9 | |
#enabled=1 | |
#baseurl=http://opensource.wandisco.com/centos/7/svn-1.9/RPMS/$basearch/ | |
#gpgcheck=1 |
Inspired By: grafana/loki#333
version: "3"
networks:
loki:
# to generate your dhparam.pem file, run in the terminal | |
openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048 |
A running example of the code from:
Small refactorings made to original code:
package main | |
import ( | |
"fmt" | |
"log" | |
"github.com/gocql/gocql" | |
) | |
func main() { |