How to rename file .env of docker project ?

Discussion in 'Programming' started by mstdmstd, Dec 22, 2018.

  1. #1
    Hello,
    I have small docker(version: '3.1') project with laravel 5 app
    I have file .env where some path vars are set abd in docker-compose.yml these vars are set.
    Looks like .env is config file by default and I would like to change name of this config file,
    as my laravel app also has .env file and that raise some confusion in the project.
    If there is a way to rename .env of docker project and where such option can be set ?

    Thanks!
     
    Solved! View solution.
    mstdmstd, Dec 22, 2018 IP
  2. #2
    RoseHosting, Dec 30, 2018 IP