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:
+3
-3
@@ -29,7 +29,7 @@ services:
|
|||||||
ports:
|
ports:
|
||||||
- "8080:8080"
|
- "8080:8080"
|
||||||
volumes:
|
volumes:
|
||||||
- ./searxng:/etc/searxng:rw
|
- ./searxng:/etc/searxng:rw,z
|
||||||
environment:
|
environment:
|
||||||
- SEARXNG_BASE_URL=http://localhost:8080/
|
- SEARXNG_BASE_URL=http://localhost:8080/
|
||||||
- SEARXNG_SECRET_KEY=$(openssl rand -hex 32)
|
- SEARXNG_SECRET_KEY=$(openssl rand -hex 32)
|
||||||
@@ -57,7 +57,7 @@ services:
|
|||||||
ports:
|
ports:
|
||||||
- "3000:3000"
|
- "3000:3000"
|
||||||
volumes:
|
volumes:
|
||||||
- ./frontend/agentic-seek-front/src:/app/src
|
- ./frontend/agentic-seek-front/src:/app/src:z
|
||||||
- ./screenshots:/app/screenshots
|
- ./screenshots:/app/screenshots
|
||||||
environment:
|
environment:
|
||||||
- NODE_ENV=development
|
- NODE_ENV=development
|
||||||
@@ -102,4 +102,4 @@ volumes:
|
|||||||
|
|
||||||
networks:
|
networks:
|
||||||
agentic-seek-net:
|
agentic-seek-net:
|
||||||
driver: bridge
|
driver: bridge
|
||||||
|
|||||||
Reference in New Issue
Block a user