About 1,300,000 results
Open links in new tab
  1. What is an .env (or dotenv) file exactly? - Stack Overflow

    Jul 6, 2021 · What is an .env (or dotenv) file exactly? Asked 4 years, 3 months ago Modified 2 years, 6 months ago Viewed 35k times

  2. How to set environment variables from .env file - Stack Overflow

    Apr 7, 2017 · Here is what I do to set environment variables from .env file that is created by Windows and made that an alias in ~/.zshrc # ~/.zshrc # Load set environment variables from …

  3. List all environment variables from the command line

    Mar 16, 2011 · Is it possible to list all environment variables from a Windows' command prompt? Something equivalent to PowerShell's gci env: (or ls env: or dir env:).

  4. Adding an .env file to a React project - Stack Overflow

    Sep 1, 2021 · Finally, add .env to your .gitignore file so that Git ignores it and it never ends up on GitHub. If you are using Create React App (create-react-app) then you only need step 3 and 4, …

  5. Setting Windows PowerShell environment variables - Stack Overflow

    I have found out that setting the PATH environment variable affects only the old command prompt. PowerShell seems to have different environment settings. How do I change the …

  6. How to save .env file in windows? - Stack Overflow

    Steps to create .env file in Windows machine: Open a Notepad and write the credentials inside the file Click on Save option and change the file type to 'All files' Keep the file name as .env Hit …

  7. dockerfile - How do I set environment variables during the "docker ...

    ENV values are available to containers, but also RUN-style commands during the Docker build starting with the line where they are introduced. If you set an environment variable in an …

  8. How can I use environment variables in docker-compose?

    You can use env_file setting, and define your environment file within the same line. Then doing a docker-compose up again should recreate the containers with the new environment variables.

  9. How do I pass environment variables to Docker containers?

    env > env_file && docker run --env-file env_file image_name Use this technique very carefully, because env > env_file will dump ALL host machine ENV variables to env_file and make them …

  10. what is `env <command>` doing? - Unix & Linux Stack Exchange

    Basically, using env like this is a (mostly) shell-independent way of avoiding aliases, shell functions, shell builtin commands, and any other bits of shell functionality that might replace or …