Apache on HassOS

I have HassOS running on a NUC. System impact is minimal, it could handle a web server like apache as well. I should have installed home assistant in a docker with Ubuntu running.
Is it possible to add Apache on HassOS?

Install proxmox hassio addon and you can install any docker image you like.

Did you mean proxmox or Portainer?

1 Like

Portainer. Sorry bout dat. I keep confusing the names. And I’ve been trying to learn more about proxmox so it was kinda stuck in my head.

Bear of very little brain and all that.

Well you are from New Zealand so there’s that. Lol.

Australian? Good luck with that world cup thing.

2 Likes

Ok thanks! I didn’t notice/see Portainer in the add-ons.

I have portainer up and running. How do I get the published network ports up and running for instance I installed a wordpress container and its working on the random port 32800. Port 80 won’t work. Must be something in my setup which I can;t find. Duckdns and dnsmasq is also running.

When you create the container, you set the ports to what you want. It’s in the options of the docker container.

Yes port 80 is set in the options. Somehow this doesn’t work or is blocked by some other setting in hass.

It’s set how? By default, Portainer will pick a random port to map to port 80 in the container. This has nothing to do with HASS. :wink:

So port 32800 (or another random port) is mapped to port 80 of the docker. mysite.duckdns.org:32800 works. mysite.duckdns.org:80 does not work. Is that how it should work??? I assumed port 32800 is random so port 80 maps to the random port. I’m new to portainer and learning :slight_smile:

When deploying the container did you click on ‘advanced’ and map port 80?

I didn’t grab the direction of the port mapping and the wordpress docker app (which I tried first) doesn’t have the advanced enabled. Tried it with a basic apache docker and now I get it!
Now that I have disovered Portainer addonI don’t understand why everybody is claiming the beste setup is Ubuntu > Docker > Portainer > hassio
Portainer on hassos is easy!

Because some of us still prefer control of our host OS

2 Likes

If anyone is still searching for this. I have created a apache2 hassio addon.
More information is here: https://github.com/FaserF/hassio-addons/tree/master/apache2