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

@ -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

View file

@ -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 \