From 90be3751613cf2d508ad63acf6c5d6f1c438162d Mon Sep 17 00:00:00 2001 From: Neil Hanlon Date: Fri, 30 Aug 2024 15:35:47 -0400 Subject: [PATCH] fix: selinux --- start-dev.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/start-dev.sh b/start-dev.sh index fbf9032..cd9b601 100644 --- a/start-dev.sh +++ b/start-dev.sh @@ -17,11 +17,11 @@ podman run \ -e 'MM2_THEME_FOLDER=rocky' \ -e 'FLASK_DEBUG=1' \ -e 'MM2_DEBUG=1' \ - -v $PWD/mirrormanager2.cfg:/etc/mirrormanager/mirrormanager2.cfg \ - -v $PWD/client_secrets.json:/etc/mirrormanager/client_secrets.json \ - -v $PWD/tmp:/var/tmp:rw \ - -v $PWD/static:/usr/lib/python3.12/site-packages/mirrormanager2/static \ - -v $PWD/templates:/usr/lib/python3.12/site-packages/mirrormanager2/templates \ + -v $PWD/mirrormanager2.cfg:/etc/mirrormanager/mirrormanager2.cfg:z,ro \ + -v $PWD/client_secrets.json:/etc/mirrormanager/client_secrets.json:z,ro \ + -v $PWD/tmp:/var/tmp:z,rw \ + -v $PWD/static:/usr/lib/python3.12/site-packages/mirrormanager2/static:z,ro \ + -v $PWD/templates:/usr/lib/python3.12/site-packages/mirrormanager2/templates:z,ro \ -d git.resf.org/infrastructure/mirrormanager2:dev # Setup sqlite database