Where is located the env file related to CLI environment settings?
Hi!
When using docker-compose, I'd like to provide an env file in
docker-compose.yaml
rather than repeating all my variables one by one like this:
How can I do this? I think this is related to where are saved the environment variables that I set in the CLI (cf screenshot).
Thanks a lot.
4 Replies
No one ? 😢
Here's the folder structure @David I haven't tried loading the env like this but it should work

Amazing, thanks a lot.
This way, this works
May I ask where can you find this arborescence? I tried to search on my host VPS, and on the Dokploy container but did not found.
The path is
/etc/dokploy
. You'll need the root user to make file updates