Good job.  Looks like you added this later.  Just make sure to remove the .env file from git.