Env variables
Hey team, other tools similar to Dokploy that I've worked allow you to define env variables for your project when setting up a service. I couldn't find that option in the app or docs, so I'm assuming it's not available.
What's the recommended approach for handling env vars in Dokploy?
Right now, I'm thinking of configuring them on the VPS and having the Dockerfiles pick them up.
Another option could be to pass the variables as build args, like this:
And then building the Docker image with
docker build -t image_name --build-arg name=Enrique
.
Is anyone using a different approach that they'd recommend? Am I missing something obvious?
2 Replies
mm you cannot pass args, what's your usecase why do you need args?
Nope, I'm dumb, it's here right next to general
I missed the environment section MB