Regarding ticket#204 on the upstream repo, allow containers to access config dir under SELinux

Under SELinux enforcement, the container was denied access to the bind-mounted ./searxng directory, causing permission errors. Adding the :z flag to the volume mount in docker-compose.yml applies the correct SELinux context for shared access.
This commit is contained in:
Gabriel Sallum
2025-05-29 22:39:17 -04:00
parent e7a4f41101
commit 67e074165c
+3 -3
View File
@@ -29,7 +29,7 @@ services:
ports:
- "8080:8080"
volumes:
- ./searxng:/etc/searxng:rw
- ./searxng:/etc/searxng:rw,z
environment:
- SEARXNG_BASE_URL=http://localhost:8080/
- SEARXNG_SECRET_KEY=$(openssl rand -hex 32)
@@ -57,7 +57,7 @@ services:
ports:
- "3000:3000"
volumes:
- ./frontend/agentic-seek-front/src:/app/src
- ./frontend/agentic-seek-front/src:/app/src:z
- ./screenshots:/app/screenshots
environment:
- NODE_ENV=development
@@ -102,4 +102,4 @@ volumes:
networks:
agentic-seek-net:
driver: bridge
driver: bridge