From c74dc92febd1841c8ea5ff31caab0f941d57527d Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Sat, 16 Jan 2021 17:07:01 +0100 Subject: Proposal: reorganize app/ folder by modules --- app/deployment/backup.hcl | 67 ------ app/deployment/core.hcl | 44 ---- app/deployment/directory.hcl | 114 ---------- app/deployment/email.hcl | 487 ------------------------------------------ app/deployment/garage.hcl | 102 --------- app/deployment/im.hcl | 265 ----------------------- app/deployment/jitsi.hcl | 234 -------------------- app/deployment/nextcloud.hcl | 65 ------ app/deployment/platoo.hcl | 64 ------ app/deployment/plume.hcl | 69 ------ app/deployment/postgres.hcl | 134 ------------ app/deployment/science.hcl | 58 ----- app/deployment/seafile.hcl | 222 ------------------- app/deployment/traefik.hcl | 72 ------- app/deployment/web_static.hcl | 112 ---------- 15 files changed, 2109 deletions(-) delete mode 100644 app/deployment/backup.hcl delete mode 100644 app/deployment/core.hcl delete mode 100644 app/deployment/directory.hcl delete mode 100644 app/deployment/email.hcl delete mode 100644 app/deployment/garage.hcl delete mode 100644 app/deployment/im.hcl delete mode 100644 app/deployment/jitsi.hcl delete mode 100644 app/deployment/nextcloud.hcl delete mode 100644 app/deployment/platoo.hcl delete mode 100644 app/deployment/plume.hcl delete mode 100644 app/deployment/postgres.hcl delete mode 100644 app/deployment/science.hcl delete mode 100644 app/deployment/seafile.hcl delete mode 100644 app/deployment/traefik.hcl delete mode 100644 app/deployment/web_static.hcl (limited to 'app/deployment') diff --git a/app/deployment/backup.hcl b/app/deployment/backup.hcl deleted file mode 100644 index 08fd923..0000000 --- a/app/deployment/backup.hcl +++ /dev/null @@ -1,67 +0,0 @@ -job "backup_periodic" { - datacenters = ["dc1"] - - type = "batch" - - periodic { - // Launch every hour - cron = "0 * * * * *" - - // Do not allow overlapping runs. - prohibit_overlap = true - } - - task "backup-consul" { - driver = "docker" - - config { - image = "lxpz/backup_consul:12" - volumes = [ - "secrets/id_ed25519:/root/.ssh/id_ed25519", - "secrets/id_ed25519.pub:/root/.ssh/id_ed25519.pub", - "secrets/known_hosts:/root/.ssh/known_hosts" - ] - network_mode = "host" - } - - env { - CONSUL_HTTP_ADDR = "http://consul.service.2.cluster.deuxfleurs.fr:8500" - } - - template { - data = <