[GH-ISSUE #41] env_file location #21

Open
opened 2026-03-03 19:10:55 +03:00 by kerem · 0 comments
Owner

Originally created by @D1reW0lf on GitHub (Oct 29, 2024).
Original GitHub issue: https://github.com/productiveops/dokemon/issues/41

Hi.
When we use the:

services:
  myservice:
    env_file:
      - .env

Where should we put the .env file?

I tried to put
/full/path/to/.env
but it doesn't work, it says no such file or directory.
I tried both a full path referring to the host and to the ./data that Dokémon uses.

(Frankly, having to input the vars one by one on the Variables field it's not the ideal)

Thank you.

Originally created by @D1reW0lf on GitHub (Oct 29, 2024). Original GitHub issue: https://github.com/productiveops/dokemon/issues/41 Hi. When we use the: ``` services: myservice: env_file: - .env ``` Where should we put the .env file? I tried to put `/full/path/to/.env` but it doesn't work, it says `no such file or directory`. I tried both a full path referring to the host and to the ./data that Dokémon uses. (Frankly, having to input the vars one by one on the Variables field it's not the ideal) Thank you.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/dokemon#21
No description provided.