How use envs with docker compose/stack #3397
-
|
Hi, If so, how should it be configured? I tried setting the variables only in the |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
|
If this is a deployment using compose, try adding this to your service: env_file:
- .envDokploy will create a |
Beta Was this translation helpful? Give feedback.
If this is a deployment using compose, try adding this to your service:
Dokploy will create a
.envfile with the settings specified in the UI and transfer them to the container after the next rebuild. If you change any value, you will need to redeploy.