You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Enable support for Docker Compose profiles in Umbrel to allow app developers to start apps using different profiles. This feature will enhance app management by providing more flexibility and control over which services are started by default.
Background:
Docker Compose v3.9 introduced the concept of profiles, which allows developers to define groups of services that can be selectively started. This feature is particularly useful for managing complex applications with multiple services, as it enables developers to control which services are started based on the specified profile.
Currently, Umbrel does not support profiles for Docker Compose v3.9, limiting the ability of app developers to leverage this powerful feature for app management.
Proposal
Enable Profile Support: Update Umbrel to support Docker Compose profiles in v3.9. This will allow app developers to define and use profiles in their docker-compose.yml files.
Profile Configuration: Provide a mechanism for app developers to specify the default profile and additional profiles that can be used to start the app. This can be done through a configuration file or environment variables.
Profile Selection: Allow users to select and start apps using different profiles through the Umbrel interface or CLI. This will enable users to start only the necessary services based on their requirements.
Benefits
Flexibility: Profiles provide greater flexibility in managing complex applications with multiple services. Developers can define different profiles for development, testing, and production environments.
Resource Optimization: By selectively starting services based on profiles, users can optimize resource usage and reduce the overhead of running unnecessary services.
Improved App Management: Profiles enhance app management by allowing developers to control which services are started by default and provide users with the ability to start additional services as needed.
Example Use Case:
An app developer defines a docker-compose.yml file with multiple services, including a database, web server, and background worker. Using profiles, the developer can create separate profiles for development and production environments:
In this example, the db and web services are included in the default profile, while the worker service is included in the worker profile. Users can start the app with the default profile or include the worker profile as needed:
# Start the app with the default profile
docker-compose up
# Start the app with the default and worker profiles
docker-compose --profile worker up
The text was updated successfully, but these errors were encountered:
Summary
Enable support for Docker Compose profiles in Umbrel to allow app developers to start apps using different profiles. This feature will enhance app management by providing more flexibility and control over which services are started by default.
Background:
Docker Compose v3.9 introduced the concept of profiles, which allows developers to define groups of services that can be selectively started. This feature is particularly useful for managing complex applications with multiple services, as it enables developers to control which services are started based on the specified profile.
Currently, Umbrel does not support profiles for Docker Compose v3.9, limiting the ability of app developers to leverage this powerful feature for app management.
Proposal
Enable Profile Support: Update Umbrel to support Docker Compose profiles in v3.9. This will allow app developers to define and use profiles in their docker-compose.yml files.
Profile Configuration: Provide a mechanism for app developers to specify the default profile and additional profiles that can be used to start the app. This can be done through a configuration file or environment variables.
Profile Selection: Allow users to select and start apps using different profiles through the Umbrel interface or CLI. This will enable users to start only the necessary services based on their requirements.
Benefits
Flexibility: Profiles provide greater flexibility in managing complex applications with multiple services. Developers can define different profiles for development, testing, and production environments.
Resource Optimization: By selectively starting services based on profiles, users can optimize resource usage and reduce the overhead of running unnecessary services.
Improved App Management: Profiles enhance app management by allowing developers to control which services are started by default and provide users with the ability to start additional services as needed.
Example Use Case:
An app developer defines a docker-compose.yml file with multiple services, including a database, web server, and background worker. Using profiles, the developer can create separate profiles for development and production environments:
In this example, the db and web services are included in the default profile, while the worker service is included in the worker profile. Users can start the app with the default profile or include the worker profile as needed:
The text was updated successfully, but these errors were encountered: