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

[FEAT]: Allow setting env settings from UI when importing compose #401

Open
TangentFoxy opened this issue Feb 4, 2025 · 2 comments
Open
Labels
enhancement New feature or request

Comments

@TangentFoxy
Copy link

TangentFoxy commented Feb 4, 2025

For example, when setting up PeerTube according to official documentation.

@TangentFoxy TangentFoxy added the bug Something isn't working label Feb 4, 2025
@azukaar
Copy link
Owner

azukaar commented Feb 4, 2025

Cosmos cannot support env files as-is because it does not use "files" to start composes
The only thing that I could consider adding are setting fields when importing a compose with envs in them

@azukaar azukaar changed the title [BUG]: env_file is ignored when importing a docker-compose [FEAT]: Allow setting env settings from UI when importing compose Feb 4, 2025
@azukaar azukaar added enhancement New feature or request and removed bug Something isn't working labels Feb 4, 2025
@TangentFoxy
Copy link
Author

As a first-step, could it import the values from the specified file? I know that might not just work because the env_file format gets preprocessed in some manner (something about how shells handle variables?), but having the skeleton - even with wrong values - would be easier than having to manually re-add variables. Especially when combined with a warning about that not working as expected.

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

No branches or pull requests

2 participants