defang icon indicating copy to clipboard operation
defang copied to clipboard

Set config vals from .env and/or support multiple values

Open raphaeltm opened this issue 1 year ago • 1 comments

So I've got a .env with a bunch of values in it, and I want the same values in my cloud environment. I'm having to copy them one at a time into defang config set VAR=VAL

It would be practical to be able to do either/both of these to speed up the process: defang config set VAR1=VAL1 VAR2=VAL2 VAR3=VAL3

  • [ ] defang config push a la Vercel

raphaeltm avatar Jan 23 '25 11:01 raphaeltm

.env is used during interpolation, so some/all of the values might already have been applied to the Compose file and there's no need to have them in cloud config also.

lionello avatar Apr 07 '25 17:04 lionello

@lionello these are values that are sensitive, so they should be set in config, not interpolated in the shell.

raphaeltm avatar Nov 05 '25 17:11 raphaeltm