Tag: Environment Variables

Browse all articles, tutorials, and guides about Environment Variables

Posts

Docker
2025-04-23|7 min read

How Can I Use Environment Variables in docker-compose?

Learn the best ways to manage and use environment variables in docker-compose files, including .env files, variable substitution, and secure practices for real-world projects.

Linux
2024-11-28|8 min read

Defining Variables with and without Export in Linux Shell

Understand the difference between regular shell variables and exported environment variables, when to use export, and how variable scope affects scripts and processes.

Linux
2024-11-22|5 min read

How to Delete Exported Environment Variables in Linux

Learn different methods to remove environment variables from your current shell session and prevent them from persisting in future sessions.

Terraform
2024-11-08|8 min read

How to Read Environment Variables From a .env File in Terraform

Learn different approaches for loading environment variables from .env files into Terraform, from shell scripts to external data sources.

Docker
2024-11-01|5 min read

How Do I Pass Environment Variables to Docker Containers?

Environment variables are a clean way to configure your Docker containers without hardcoding values. This guide shows different methods and when to use each.

Linux
2024-10-30|7 min read

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.

Terraform
2024-07-24|5 min read

Getting an Environment Variable in Terraform Configuration

Learn how to retrieve and use environment variables in Terraform configurations using the `env` function and input variables.