Configuration
Browse all articles, tutorials, and guides about Configuration
Posts
How to Set Git Editor for Commit Messages
Want to use your preferred editor for Git commit messages? Learn how to configure Git to use VS Code, Vim, Nano, Emacs, or any editor of your choice.
How to Use Environment Variables in Docker and Docker Compose
Pass environment variables with docker run -e and --env-file, set them in Compose with environment, env_file and .env files, learn which value wins, use defaults and required variables, set ENV and PATH in a Dockerfile, and keep secrets out of all of them.
How to Use Multiple Build Arguments in Docker Build
Learn how to pass multiple build-time variables to Docker builds using --build-arg, set default values in Dockerfiles, and use build arguments for environment-specific configurations.
How to Read a .env File in Terraform, and Where path.module Points
Terraform reads only TF_VAR_ environment variables and never a .env file. Learn how to load one safely, how path.module, path.root and path.cwd differ, and how to upload a local folder or create an empty folder in S3.
How to Permanently Set $PATH on Linux and Unix
Learn how to permanently modify your PATH environment variable on Linux and Unix systems so your custom directories persist across shell sessions and reboots, then reload .bashrc, export or delete variables, and write aliases that take parameters.
How to Make Git Ignore File Mode Changes
Git showing chmod changes you don not care about? Learn how to configure Git to ignore file permission changes while tracking actual code changes.