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

Ansible: Rework port variables. #46

Closed
saltydk opened this issue Dec 15, 2021 · 0 comments
Closed

Ansible: Rework port variables. #46

saltydk opened this issue Dec 15, 2021 · 0 comments

Comments

@saltydk
Copy link
Member

saltydk commented Dec 15, 2021

Currently doesn't make a whole lot of sense

sonarr_docker_ports_defaults:
  - "{{ sonarr_web_port }}"
sonarr_docker_ports_custom: []
sonarr_docker_ports: "{{ sonarr_docker_ports_defaults
                         + sonarr_docker_ports_custom
                      if (not reverse_proxy_is_enabled)
                      else [] + sonarr_docker_ports_custom }}"

Where defaults is only active if running without reverse proxy and you need to add another variable to add "default" port bindings. Should make a webui specific port label so that defaults will contain the ports that need to be used in addition to the webui port.

@saltydk saltydk closed this as completed Mar 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant