Skip to content

Instantly share code, notes, and snippets.

View mwmahlberg's full-sized avatar
🎯
Focusing

Markus Mahlberg mwmahlberg

🎯
Focusing
  • Cologne, Germany
View GitHub Profile
@mwmahlberg
mwmahlberg / 1OnoHive.md
Last active May 7, 2017 11:09
No Hive!

No Hive!

In diesem Dokument wird erklärt, warum der Hive aufgelöst wird und wie wir mit den verschiedenen Herausforderungen umgehen, die sich daraus ergeben.


[TOC]

Warum der Hive aufgelöst wird

Kurz gesagt -- er bringt nichts. Im Folgenden wird kurz auf die Argumente für einen Hive eingegangen und warum sie nicht ziehen.

  • No need for a dedicated network: docker compose autmatically sets one up for you
  • No need to export MongoDB's port: you can access it via docker exec -it test_mongodb_1 mongo

Doublechecking of potential communication by influxd with 104.131.151.204

In a [question on Stackoverflow][so:op] the question was raised wether influxd would communicate with [104.131.151.204][co:dossier] despite reporting-disabled was set to true.

This gist contains all the data required to replicate my check on this.

Requirements to replicate

  • docker
// This is free and unencumbered software released into the public domain.
//
// Anyone is free to copy, modify, publish, use, compile, sell, or
// distribute this software, either in source code form or as a compiled
// binary, for any purpose, commercial or non-commercial, and by any
// means.
//
// In jurisdictions that recognize copyright laws, the author or authors
// of this software dedicate any and all copyright interest in the
// software to the public domain. We make this dedication for the benefit
FROM golang:1.12.0
ENV SRC_DIR=/go/src/vk_acceptor/
ADD . $SRC_DIR
# 1. Use workdir instead of `cd`, as cd is only valid for the current `RUN`.
WORKDIR $SRC_DIR
# 2. Use /usr/local/bin (or sbin) as per FHS. Adhere to the principle of least suprise - this is what you expect, too, or don't you?
@mwmahlberg
mwmahlberg / .gitignore
Last active February 10, 2024 16:50
Code for the question 77971921 on Stackoverflow
.docker-build.*