From 5e0a5c9de3da810f03cf6176bab89a85b0d72a74 Mon Sep 17 00:00:00 2001 From: Michael <30936296+mtan93@users.noreply.github.com> Date: Fri, 10 Apr 2020 20:27:45 +0100 Subject: [PATCH] Update homebridge.yml --- apps/homebridge.yml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/apps/homebridge.yml b/apps/homebridge.yml index f2e85ab..4e62daf 100644 --- a/apps/homebridge.yml +++ b/apps/homebridge.yml @@ -13,6 +13,10 @@ - name: 'Set Known Facts' set_fact: pgrole: 'homebridge' + intport: '51826' + extport: '51826' + intport2: '8084' + extport2: '8084' image: 'oznu/homebridge:latest' # CORE (MANDATORY) ############################################################ @@ -25,7 +29,7 @@ pg_labels: traefik.frontend.auth.forward.address: '{{gauth}}' traefik.enable: 'true' - traefik.port: '8080' + traefik.port: '{{intport2}}' traefik.frontend.rule: 'Host:{{pgrole}}.{{domain.stdout}}{{tldset}}{{cname}}' traefik.frontend.headers.SSLHost: '{{domain.stdout}}' traefik.frontend.headers.SSLRedirect: 'true' @@ -52,7 +56,7 @@ PUID: '1000' PGID: '1000' HOMEBRIDGE_CONFIG_UI: '1' - HOMEBRIDGE_CONFIG_UI_PORT: '8086' + HOMEBRIDGE_CONFIG_UI_PORT: '{{intport2}}' PACKAGES: 'ffmpeg' # MAIN DEPLOYMENT ############################################################# @@ -64,6 +68,9 @@ volumes: '{{pg_volumes}}' env: '{{pg_env}}' restart_policy: unless-stopped - network_mode: host + networks: + - name: plexguide + aliases: + - '{{pgrole}}' state: started labels: '{{pg_labels}}'