diff --git a/container-ports.md b/container-ports.md index 3efb0cd..3fc1018 100644 --- a/container-ports.md +++ b/container-ports.md @@ -1,11 +1,12 @@ # Ports used by container web services -| Port | Ansible role | Service name | -|------|--------------|------------------------| -| 8001 | kerberos_kdc | Kerberos KDC | -| 8002 | grafana | Grafana | -| 8003 | authcheck | Authentication check | -| 8004 | roundcube | Roundcube webmail | -| 8005 | php4dvd | php4dvd movie catalog | -| 8006 | scanservjs | SANE Scanner webui | -| 8007 | frigate | Network video recorder | +| Port | Ansible role | Service name | +|------|----------------|------------------------| +| 8001 | kerberos_kdc | Kerberos KDC | +| 8002 | grafana | Grafana | +| 8003 | authcheck | Authentication check | +| 8004 | roundcube | Roundcube webmail | +| 8005 | php4dvd | php4dvd movie catalog | +| 8006 | scanservjs | SANE Scanner webui | +| 8007 | frigate | Network video recorder | +| 8008 | hoemeassistant | Home Assistant | diff --git a/roles/homeassistant/tasks/main.yml b/roles/homeassistant/tasks/main.yml index 4d6e1bb..2a510a0 100644 --- a/roles/homeassistant/tasks/main.yml +++ b/roles/homeassistant/tasks/main.yml @@ -148,7 +148,7 @@ dest: "/etc/nginx/conf.d/{{ inventory_hostname }}/homeassistant.conf" content: | location / { - proxy_pass http://127.0.0.1:8001; + proxy_pass http://127.0.0.1:8008; } mode: "0644" owner: root diff --git a/roles/homeassistant/templates/homeassistant-container.service.j2 b/roles/homeassistant/templates/homeassistant-container.service.j2 index 28d325e..9f14fa7 100644 --- a/roles/homeassistant/templates/homeassistant-container.service.j2 +++ b/roles/homeassistant/templates/homeassistant-container.service.j2 @@ -6,7 +6,7 @@ After=network-online.target [Service] User=ha ExecStart=/usr/bin/podman run \ - --rm -p 127.0.0.1:8001:8123 \ + --rm -p 127.0.0.1:8008:8123 \ --name homeassistant \ --env TZ=Europe/Helsinki \ --userns keep-id \