homeassistant: Move container to different port

This commit is contained in:
Timo Makinen 2024-03-15 17:16:16 +00:00
parent 8df5271acc
commit 7489a0c895
3 changed files with 12 additions and 11 deletions

View file

@ -1,11 +1,12 @@
# Ports used by container web services # Ports used by container web services
| Port | Ansible role | Service name | | Port | Ansible role | Service name |
|------|--------------|------------------------| |------|----------------|------------------------|
| 8001 | kerberos_kdc | Kerberos KDC | | 8001 | kerberos_kdc | Kerberos KDC |
| 8002 | grafana | Grafana | | 8002 | grafana | Grafana |
| 8003 | authcheck | Authentication check | | 8003 | authcheck | Authentication check |
| 8004 | roundcube | Roundcube webmail | | 8004 | roundcube | Roundcube webmail |
| 8005 | php4dvd | php4dvd movie catalog | | 8005 | php4dvd | php4dvd movie catalog |
| 8006 | scanservjs | SANE Scanner webui | | 8006 | scanservjs | SANE Scanner webui |
| 8007 | frigate | Network video recorder | | 8007 | frigate | Network video recorder |
| 8008 | hoemeassistant | Home Assistant |

View file

@ -148,7 +148,7 @@
dest: "/etc/nginx/conf.d/{{ inventory_hostname }}/homeassistant.conf" dest: "/etc/nginx/conf.d/{{ inventory_hostname }}/homeassistant.conf"
content: | content: |
location / { location / {
proxy_pass http://127.0.0.1:8001; proxy_pass http://127.0.0.1:8008;
} }
mode: "0644" mode: "0644"
owner: root owner: root

View file

@ -6,7 +6,7 @@ After=network-online.target
[Service] [Service]
User=ha User=ha
ExecStart=/usr/bin/podman run \ ExecStart=/usr/bin/podman run \
--rm -p 127.0.0.1:8001:8123 \ --rm -p 127.0.0.1:8008:8123 \
--name homeassistant \ --name homeassistant \
--env TZ=Europe/Helsinki \ --env TZ=Europe/Helsinki \
--userns keep-id \ --userns keep-id \