From f7555d749fe8662294951105c86e9b3397de30af Mon Sep 17 00:00:00 2001 From: Tommy Date: Fri, 22 Oct 2021 06:49:39 -0400 Subject: [PATCH] Update docker-compose.yml The security lables needs to be disabled, otherwise SELinux will deny access to the docker socket. https://access.redhat.com/solutions/4344161 --- .../with-nginx-proxy/mariadb/fpm/docker-compose.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.examples/docker-compose/with-nginx-proxy/mariadb/fpm/docker-compose.yml b/.examples/docker-compose/with-nginx-proxy/mariadb/fpm/docker-compose.yml index 0fdcc20f..36ee3163 100644 --- a/.examples/docker-compose/with-nginx-proxy/mariadb/fpm/docker-compose.yml +++ b/.examples/docker-compose/with-nginx-proxy/mariadb/fpm/docker-compose.yml @@ -70,6 +70,8 @@ services: - /var/run/docker.sock:/tmp/docker.sock:ro networks: - proxy-tier + security_opt: + - label:disable letsencrypt-companion: image: jrcs/letsencrypt-nginx-proxy-companion @@ -84,7 +86,8 @@ services: - proxy-tier depends_on: - proxy - + security_opt: + - label:disable # self signed # omgwtfssl: # image: paulczar/omgwtfssl