From af4e342f3c7181e15270f98a2349ca82fd76cf40 Mon Sep 17 00:00:00 2001 From: Max Erenberg Date: Sat, 12 Mar 2022 14:31:12 -0500 Subject: [PATCH] Add ':z' to Docker volume mounts On systems with SELinux enabled (e.g. Fedora), Docker/Podman cannot access directories on the host by default. --- docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 324d324..408670d 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -3,7 +3,7 @@ version: "3.6" x-common: &common image: python:3.7-buster volumes: - - .:$PWD + - .:$PWD:z environment: FLASK_APP: ceod.api FLASK_ENV: development