DokployD
Dokploy14mo ago
5 replies
David

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:

    environment:
      FAPI_ENVIRONMENT: ${FAPI_ENVIRONMENT}
      FAPI_FRONT_URL: ${FAPI_FRONT_URL}
      FAPI_BACK_URL: ${FAPI_BACK_URL}


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.
image.png
Was this page helpful?