a8m / envsubst

Environment variables substitution for Go
MIT License
761 stars 82 forks source link

Add support for env files #23

Open ahochsteger opened 4 years ago

ahochsteger commented 4 years ago

I'd suggest the following enhancement of envsubst to be more useful in combination with Docker/Docker Compose or Systemd Unit files:

a8m commented 4 years ago

Sounds good to me.

Should we follow the the docker-compose syntax rules?

ahochsteger commented 4 years ago

Yes, that makes sense.

mehdihadeli commented 1 year ago

@a8m is this feature in your plan?

polarathene commented 1 year ago

Teller might meet your needs?

Not quite the same feature set or UX as envsubst offers, although you could technically use them both together.


I have given teller a try and looked over the project health. Presently it's got quite a few gotchas if your needs are beyond basic. It can't perform any proper parameter expansion like envsubst can (with it's own share of bugs related to that).

Useful providers: