Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEAT] ENV to change default port in config.xml #301

Closed
1 task done
MJBgood opened this issue Oct 6, 2024 · 3 comments
Closed
1 task done

[FEAT] ENV to change default port in config.xml #301

MJBgood opened this issue Oct 6, 2024 · 3 comments

Comments

@MJBgood
Copy link

MJBgood commented Oct 6, 2024

Is this a new feature request?

  • I have searched the existing issues

Wanted change

I would like to be able to specify the default port in the config.xml when initially running the image. I am not sure if this is an unreasonable ask, apologies if so!

By extension, it would be nice to have ENV for the config.xml as a whole (ssl, ssl port, etc)

Reason for change

When you run multiple sonarr or radarr instances and change their network mode to use gluetun, the default port conflicts and only one app is accessible. Even changing the name of the duplicates (ie sonarr, sonarr-anime, sonarr-4k) and having a different config directory does not change this. As of right now, you have to run the apps, go to the config directories (aside from the first instance's) and change the port, then rebuild the containers. This is more tedious it seems in TrueNAS Scale 24.10-rc.

Proposed code change

No response

Copy link

github-actions bot commented Oct 6, 2024

Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.

@aptalca
Copy link
Member

aptalca commented Oct 6, 2024

You can set up the container without gluetun, change the port, and then put it on the gluetun network.

We have no plans to add an env var for changing the internal port.

@aptalca aptalca closed this as not planned Won't fix, can't repro, duplicate, stale Oct 6, 2024
@Roxedus
Copy link
Member

Roxedus commented Oct 6, 2024

should've checked upstream first. https://wiki.servarr.com/useful-tools#using-environment-variables-for-config

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

No branches or pull requests

3 participants