.confix
Files
#12
PascalSenn
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
.confix
FilesConfix provides a set of configuration files that allow you to manage settings on global, repository, project, component, and deployment levels. These files include:
.confixrc
,.confix.repository
,.confix.project
,.confix.component
, and.confix.lock
.Each configuration file serves a unique purpose in the overall Confix configuration process:
1.
.confixrc
This global configuration file is located in the user's home directory. It is used to define global settings that are applied across all repositories and projects. Settings defined here are inherited by the
.confix.repository
,.confix.component
, and.confix.project
files.You can override project-specific settings by using the
project
field in the.confixrc
file. In case of multiple.confixrc
files, settings can be overridden in the parent folder's.confixrc
files. To signal Confix to look for further.confixrc
files in parent folders and the home directory, you need to specifyisRoot: false
.2.
.confix.repository
This configuration file is defined at the root of the repository. It is used to specify repository-specific settings applicable across all projects within the repository. Settings defined here are inherited by the
.confix.component
and.confix.project
files.Project-specific settings can be overridden by using the
project
field in the.confix.repository
file. For more information, refer to theRepositories
section.3.
.confix.project
This file is used to configure a specific project. You can find more detailed information about this in the
Project
section.4.
.confix.component
The
.confix.component
file is used for configuring individual components. More about this can be found in theComponents
section.5.
.confix.lock
The
.confix.lock
file is generated during thebuild
operation and contains all necessary information for deploying the application. The file is used during thebuild
operation to replace the variables in the configuration files with their actual values.It contains the complete configuration that was composed out of all .confixrc and .confix.repository files, except the secrets. The confix lock file is safe to commit to your repository and you have to include it in your container image.
Beta Was this translation helpful? Give feedback.
All reactions