Settings via ENV vars #214

Closed
opened 2026-01-19 18:29:28 +00:00 by michael · 3 comments
Owner

Originally created by @tofuSCHNITZEL on GitHub.

Hi,

would it be possible to enable the settings (like provider etc.) via environment variables?
there are a lot of gui implementations for docker (e.g. in synology nas or plesk) that only allow the setting of env vars and not adding something to the run command.

thanks!
cheers
Tobias

Originally created by @tofuSCHNITZEL on GitHub. Hi, would it be possible to enable the settings (like provider etc.) via environment variables? there are a lot of gui implementations for docker (e.g. in synology nas or plesk) that only allow the setting of env vars and not adding something to the run command. thanks! cheers Tobias
Author
Owner

@paolafrancesca commented on GitHub:

merged to master, thanks @tofuSCHNITZEL

@paolafrancesca commented on GitHub: merged to master, thanks @tofuSCHNITZEL
Author
Owner

@paolafrancesca commented on GitHub:

hello @tofuSCHNITZEL

that sould be pretty easy and some of the settings can be already provided by environment variables (see https://github.com/dutchcoders/transfer.sh/blob/master/cmd/cmd.go#L103)

I'm not sure when I'll have time to do it so you're welcome if you want to open a PR for it.

@paolafrancesca commented on GitHub: hello @tofuSCHNITZEL that sould be pretty easy and some of the settings can be already provided by environment variables (see https://github.com/dutchcoders/transfer.sh/blob/master/cmd/cmd.go#L103) I'm not sure when I'll have time to do it so you're welcome if you want to open a PR for it.
Author
Owner

@tofuSCHNITZEL commented on GitHub:

its as easy as adding the "EnvVar" to all the flags?
if so... done: https://github.com/dutchcoders/transfer.sh/pull/304

@tofuSCHNITZEL commented on GitHub: its as easy as adding the "EnvVar" to all the flags? if so... done: https://github.com/dutchcoders/transfer.sh/pull/304
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: dutchcoders/transfer.sh#214