How to install custom apps on electric eel

I am sorry if its a very stupid question, but I dont know shit about any of this stuff… I was trying to install traefik and homebridge, same issue for both of them. I cant make em open the WEBUI, I need some help in setting up custom apps. what options to confiure when installing a custom app?
lets take traefik for example…can you help me set that up?
BTW: I only need traefik to point my ddns to nextcloud internal ip, I was using core before this, it had an option to choose between DHCP or NAT for nextcloud… life was easy… had a different IP for nextcloud, port forwarding on router did everything…
but now theres no option for that… as far as I know.
so if you have a easy way to access Nextcloud remotely without reverse proxy n all… pls tell me.

sorry for asking all the different questions in 1 post.

It depends on how you set up networking. You don’t want “host network” I assume?

You may need to set-up an IP alias first.

thanks for your reply,
I got 2 questions:

  1. I made the alias, how to make nextcloud point to it, I still cant figure out.
  2. nextcloud isnt even working when I click open webUI, it says untrusted domain, to change the config file… I found the file through container shell, I can cat it but I cant ee or nano or anyhting… ho do I edit it?

Are you logged in as root or an admin account? If the latter, try sudo nano <path>.

i’m logged in as admin, and I get this

Oh I didn’t notice you said container shell. You may need to make that edit via the TrueNAS shell or ssh.

1 Like

@Anirudh_Sharma how did you setup the appdata directory in the TrueNAS webui? Did you point it to a an IXVolume or a Host Path?

I ask cause it will depend on how you proceed. In either case you need to make the change on the TrueNAS system and not from the container shell. You’ll need shutdown the app, login to the TrueNAS box via SSH and then CD to where your config directory is pointing, update the config.php file and then startup the app again.

In my case my NextCloud appdata directory is:
image

So, I login to my TrueNAS box and go to that directory, then into config and update the config.php file there.

1 Like

Thank you so much, I ended up deleting nextcloud, I am goin to install it again, sorry I am not to expirienced with all this. I want to use my nextcloud from outside of my network, through *****.duckdns.org. Do I need to make a network alias or something? and port forward or something? or do I use cloudflare tunnel? How are you accessing yours from outside of your network?
and to do that what to put here:


I wouldn’t suggest exposing the instance directly to the public Internet. My setup is somewhat complex but easy for me as I do this kind of stuff for a living. I’ll try and explain how my config is setup.

Starting with TrueNAS, I’ve added a network alias to my bridge group. I added this so I could explicitly add it to the Nextcloud app and have it bind to it. I know it’s not 100% at this time but until TrueNAS supports it offically it works for me.

In the line for “Host” I add the IP that I added as an alias to my bridge group.

For the WebUI Port I’m using 9001 but you can keep the default if you wish. Just make a note of it as you’ll need it for setting up the port forwarding later.

Now, for my config. I have a virtual machine running a highly hardened version of Rocky Linux. On that system I’ve installed HaProxy. I’ve configured HaProxy to handle all my security and certificates using the Acme.sh scripts. It takes in all my HTTP and HTTPS traffic and then based on the URL provided sends it to the correct backend server.

My firewall I have setup to forward all HTTP and HTTPS traffic to this haproxy instance and as I mentioned from there it routes the correct URL to the correct server on my backend.

holy shit,
is this good?
i did this:
i put the ####.duckdns.org in


and port is 3###7.
now when i use that link from outside of network it takes me to nextcloud login page.
and port forwarded 80 and 443 to 3###7
and it only works when I use WAN - DMZ to epose my server ip
any problem with this setup?
or should I go with cloudflare tunnel?

In the setup you mentioned you are relying on the security of Nextcloud and of it’s container (which is somewhat out of your control). However as the saying goes, you are the one that needs to accept the risk. I would prefer a level of security in between the Internet and my internal servers. Something that gives me the ability to filter on the URL to give me access to different systems. If it’s working and your satisfied then that’s your call.