Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

As a Devops, I want to configure Azure model usage logs to be saved in specific folder #127

Open
SonOfLope opened this issue Aug 19, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@SonOfLope
Copy link
Contributor

Description

Bug Summary: : We're setting up security configurations on the deployment and we need to prevent root filesystem access to the container. To do so, any file needed to be created such as uploads and logs need to be saved in a specific folder such as /app/logs or /apps/upload so that we can set granular permissions to these folders only. Currently, if we set configuration to prevent root filesystem access, we get the following error :
image

Steps to Reproduce:
Remove root filesystem write access and set user as non root in docker container.

Expected Behavior:
Logs are saved in logs folder for which we can set write and read permissions and the app can run fine afterwards with no elevated permissions.

Actual Behavior:
App crashes since it doesn't have permissions to write in app folder.

Environment:

Deployment

Commit Hash: : ghcr.io/ai-cfia/fertiscan-backend:98-add-user-and-group-to-dockerfile

OS Version: docker

Browser Version: na

Logs and Screenshots:

Browser Console Logs:
[Include relevant browser console logs, if applicable]

Extra Screenshots:
[Attach any relevant extra screenshots]

Additional Context:
[Include any other context about the problem here.]

Suggested Fix: (facultatif)
[If you have an idea of how to fix the bug, describe it here.]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Todo
Development

No branches or pull requests

2 participants