From e695ba0aa6d3cfc3174e5fe04fdf4346720487b2 Mon Sep 17 00:00:00 2001 From: saibotk Date: Mon, 20 Dec 2021 01:43:28 +0100 Subject: [PATCH] telegraf: Disable read-only for now to make it work again The official image just pushed an update to all tags which sets capabilities on runtime and thus breaks read only environments. Gotta make my own image later. --- roles/gitlab/templates/docker-compose.yml | 2 +- roles/minecraft/templates/docker-compose.yml | 2 +- roles/telegraf/templates/docker-compose.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/roles/gitlab/templates/docker-compose.yml b/roles/gitlab/templates/docker-compose.yml index 6a79831..27bbdc7 100644 --- a/roles/gitlab/templates/docker-compose.yml +++ b/roles/gitlab/templates/docker-compose.yml @@ -298,7 +298,7 @@ services: restart: always mem_limit: 256mb memswap_limit: 384mb - read_only: true + read_only: false # TODO: Switch to self-made container volumes: - {{ gitlab_telegraf_location }}:/etc/telegraf/:ro {% endif %} diff --git a/roles/minecraft/templates/docker-compose.yml b/roles/minecraft/templates/docker-compose.yml index c6338d2..36fc8ed 100644 --- a/roles/minecraft/templates/docker-compose.yml +++ b/roles/minecraft/templates/docker-compose.yml @@ -96,7 +96,7 @@ services: restart: always mem_limit: 256mb memswap_limit: 384mb - read_only: true + read_only: false # TODO: Switch to self-made container networks: minecraft-backend: volumes: diff --git a/roles/telegraf/templates/docker-compose.yml b/roles/telegraf/templates/docker-compose.yml index fe22fe0..e7459f8 100644 --- a/roles/telegraf/templates/docker-compose.yml +++ b/roles/telegraf/templates/docker-compose.yml @@ -24,7 +24,7 @@ services: restart: always mem_limit: 256mb memswap_limit: 384mb - read_only: true + read_only: false # TODO: switch to self-made container security_opt: - label:disable environment: