mirror of
https://github.com/iiab/iiab.git
synced 2025-02-14 20:22:08 +00:00
Default port range for azuracast is 10xxx:10xxx
This commit is contained in:
parent
a6af2f20b8
commit
b57a4cdd61
2 changed files with 11 additions and 5 deletions
|
@ -7,8 +7,14 @@
|
|||
# All above are set in: github.com/iiab/iiab/blob/master/vars/default_vars.yml
|
||||
# If nec, change them by editing /etc/iiab/local_vars.yml prior to installing!
|
||||
|
||||
azuracast_http_port: 9080
|
||||
azuracast_https_port: 9443
|
||||
azuracast_http_port: 10080
|
||||
azuracast_https_port: 10443
|
||||
|
||||
# Auracast needs many ports in the 8000:8100 range by default, but IIAB services
|
||||
# conflict with those ports so this variable below sets a sane prefix.
|
||||
# Eg: setting the below variable to 10 will result in port ranges 10000-10100
|
||||
# being reserved for azuracast
|
||||
azuracast_port_range_prefix: 10
|
||||
|
||||
docker_sh_url: https://raw.githubusercontent.com/AzuraCast/AzuraCast/master/docker.sh
|
||||
docker_compose_url: https://raw.githubusercontent.com/AzuraCast/AzuraCast/master/docker-compose.sample.yml
|
||||
|
|
|
@ -52,11 +52,11 @@
|
|||
dest: "/var/lib/docker"
|
||||
state: link
|
||||
|
||||
- name: Change default port number ranges 8xxx:8xxx to 9xxx:9xxx icecast-stations in docker-compose.yml
|
||||
- name: Change default port number ranges 8xxx:8xxx to Nxxx:Nxxx icecast-stations in docker-compose.yml (N - azuracast_port_range_prefix)
|
||||
replace:
|
||||
path: "{{ azuracast_host_dir }}/docker-compose.yml"
|
||||
regexp: "^( *- \\')8([0-9][1-9][0-9])\\:8([0-9][1-9][0-9]\\'.*)$"
|
||||
replace: '\g<1>9\g<2>:9\g<3>'
|
||||
regexp: "^( *- \\')8([0-9]{3})\\:8([0-9]{3}\\'.*)$"
|
||||
replace: "\\g<1>{{ azuracast_port_range_prefix }}\\g<2>:{{ azuracast_port_range_prefix }}\\g<3>"
|
||||
|
||||
- name: Azuracast - Run the installer
|
||||
shell: "/bin/bash docker.sh install"
|
||||
|
|
Loading…
Reference in a new issue