Skip to content

Conversation

@adamoutler
Copy link
Collaborator

To significantly improve performance in the devcontainer, this commit mounts the /api and /log directories as ramdisks.

The following changes were required to support this:

  • Permissions: Added the SYS_ADMIN capability and apparmor=unconfined security option to allow the container to perform the mount operation.
  • Repository Structure: Removed now-obsolete .gitignore files and added .git-placeholder files to ensure the target directories exist. The original /.gitignore maintains the desired effect.

As a security enhancement, the container no longer runs with the --privileged flag, adhering to the principle of least privilege.

@adamoutler adamoutler marked this pull request as draft September 21, 2025 21:43
@adamoutler
Copy link
Collaborator Author

I had a cache issue which the page refused to load on a full rebuild. I marked it as draft immediately. I cleared the cache and it started working.

@adamoutler adamoutler marked this pull request as ready for review September 21, 2025 21:48
@jokob-sk jokob-sk merged commit b787589 into netalertx:main Sep 22, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants