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

Feature/container volume #686

Merged
merged 2 commits into from
Mar 26, 2024
Merged

Feature/container volume #686

merged 2 commits into from
Mar 26, 2024

Conversation

RadioAndrea
Copy link
Collaborator

BLUF

Changes bind-mounts to the newer volumes since bind-mounts are confusing, hard, and are harming user experience.

Why

Bind mounts are confusing to users, and can sometimes have strange permissions. Additionally, they are not compatible with many docker desktop offerings, in particular docker desktop for windows. Many users are additionally not familiar with UIDs and thus cannot effectively set permissions properly to make the system work. This can leave them more vulnerable to attacks when running on shared systems if the permissions they end up on are too permissive.

Simplifying the persistent storage for the containers seems appropriate given the challenges encountered by users.

How

Since configuration of the server was already accessible by environment variable, I created a list of the ones I felt were most important and added them to the compose file. Use of all environment variables is of course possible, but many of them probably don't need to be exposed except for highly skilled users in strange use cases.

Other notes

This will need to be replicated to the FreeTAKHub-Installation repo
Documentation will need to be updated/added in FreeTAKServer-User-Docs

@RadioAndrea RadioAndrea added the enhancement New feature or request label Mar 24, 2024
@RadioAndrea RadioAndrea self-assigned this Mar 24, 2024
@RadioAndrea RadioAndrea merged commit fff91b1 into master Mar 26, 2024
4 of 6 checks passed
@RadioAndrea RadioAndrea deleted the feature/container-volume branch March 26, 2024 23:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant