aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2020-05-21 09:19:19 +0200
committerQuentin Dufour <quentin@deuxfleurs.fr>2020-05-21 09:19:19 +0200
commitb37680cdc187c8ff2da89fde8842ed5290a07dd7 (patch)
tree5aac6da90a10bebf59dc6291ab0686cf4ff356d9
parent09f8d354a1826ec28db6e5af1fcbda15629208f4 (diff)
downloadinfrastructure-b37680cdc187c8ff2da89fde8842ed5290a07dd7.tar.gz
infrastructure-b37680cdc187c8ff2da89fde8842ed5290a07dd7.zip
Cleaning repo
-rw-r--r--docker/james/README.md7
-rw-r--r--docker/james/james-imap-server.pngbin97620 -> 0 bytes
-rw-r--r--nomad/bottin.hcl58
-rw-r--r--nomad/cassandra.hcl79
4 files changed, 0 insertions, 144 deletions
diff --git a/docker/james/README.md b/docker/james/README.md
deleted file mode 100644
index c6dafc6..0000000
--- a/docker/james/README.md
+++ /dev/null
@@ -1,7 +0,0 @@
-james
-=====
-
-let's start with imap server only...
--------------------------------------
-
-![](james-imap-server.png)
diff --git a/docker/james/james-imap-server.png b/docker/james/james-imap-server.png
deleted file mode 100644
index 30112d9..0000000
--- a/docker/james/james-imap-server.png
+++ /dev/null
Binary files differ
diff --git a/nomad/bottin.hcl b/nomad/bottin.hcl
deleted file mode 100644
index 281fabc..0000000
--- a/nomad/bottin.hcl
+++ /dev/null
@@ -1,58 +0,0 @@
-job "directory" {
- datacenters = ["dc1"]
- type = "service"
-
- constraint {
- attribute = "${attr.cpu.arch}"
- value = "amd64"
- }
-
- group "ldap" {
- count = 2
- task "server" {
- driver = "docker"
- config {
- image = "superboum/amd64_bottin:v10"
- readonly_rootfs = true
- port_map {
- ldap_port = 1389
- }
- }
-
- env {
- TRIGGER = 2
- BOTTIN_PORT = 1389
- BOTTIN_SUFFIX = "dc=deuxfleurs,dc=fr"
- BOTTIN_CONSUL = "consul.service.2.cluster.deuxfleurs.fr"
- }
-
- resources {
- memory = 100
- network {
- port "ldap_port" {
- static = "389"
- }
- }
- }
-
- service {
- tags = ["bottin"]
- port = "ldap_port"
- address_mode = "host"
- name = "bottin"
- check {
- type = "tcp"
- port = "ldap_port"
- interval = "60s"
- timeout = "5s"
- check_restart {
- limit = 3
- grace = "90s"
- ignore_warnings = false
- }
- }
- }
- }
- }
-}
-
diff --git a/nomad/cassandra.hcl b/nomad/cassandra.hcl
deleted file mode 100644
index 3e3dc9e..0000000
--- a/nomad/cassandra.hcl
+++ /dev/null
@@ -1,79 +0,0 @@
-job "cassandra" {
- datacenters = ["dc1"]
- type = "service"
-
- constraint {
- attribute = "${attr.cpu.arch}"
- value = "amd64"
- }
-
- group "scylladb" {
- count = 3
-
- constraint {
- operator = "distinct_hosts"
- value = "true"
- }
-
- // volume + command line
- task "scylladb_worker" {
- driver = "docker"
- config {
- image = "scylladb/scylla:3.1.2"
- readonly_rootfs = false
- port_map {
- scylla_port = 9042
- scylla_gossip_port = 7000
- scylla_jmx_port = 7199
- }
- args = [
- "--seeds=192.168.1.2,192.168.1.3,192.168.1.4",
- "--listen-address=0.0.0.0",
- "--broadcast-address=${NOMAD_IP_scylla_port}",
- "--broadcast-rpc-address=${NOMAD_IP_scylla_port}",
- "--developer-mode", "1",
- "--overprovisioned", "1",
- "--experimental", "0",
- "--memory", "200M"
- ]
- volumes = [
- "/var/lib/scylla:/var/lib/scylla"
- ]
- }
-
- resources {
- memory = 500
- network {
- port "scylla_port" {
- static = "9042"
- }
- port "scylla_gossip_port" {
- static = "7000"
- }
- port "scylla_jmx_port" {
- static = "7199"
- }
- }
- }
-
- service {
- tags = ["scylla"]
- port = "scylla_port"
- address_mode = "host"
- name = "scylla"
- check {
- type = "tcp"
- port = "scylla_port"
- interval = "60s"
- timeout = "5s"
- check_restart {
- limit = 3
- grace = "90s"
- ignore_warnings = false
- }
- }
- }
- }
- }
-}
-