this post was submitted on 06 Sep 2023
14 points (88.9% liked)

Selfhosted

39477 readers
425 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
 

I have NextCloud installed via Ubuntu Snap. But I want to take the docker route instead. Every "how to" only shows how to set it up with reverse proxy configuration. I need to be able to do this without it. Any help?

Update: Figured it out! Made a domain name in Cloudflare Tunnels that point to https://localhost:11000. Then on NextCloud aio domain verification, I put the domain name that I made.

you are viewing a single comment's thread
view the rest of the comments
[–] Strit@lemmy.linuxuserspace.show 3 points 1 year ago (2 children)

You should be able to just run the docker container and expose port 8080, then visit http://localhost:8080 to complete the setup. You won't have SSL or anything though. If it still asks for domain name, maybe you can put in localhost.local ?

[–] techgearwhips@lemmy.world 1 points 1 year ago

Does not work. This comes up:

"DNS config is not set for this domain or the domain is not a valid domain! (It was found to be set to '')"

[–] techgearwhips@lemmy.world 0 points 1 year ago (2 children)

Honestly don't need SSL. And I will try that localhost.local when I get back to my server. Thanks.

[–] redcalcium@lemmy.institute 2 points 1 year ago (1 children)

I don't think localhost.local would resolve from inside nextcloud docker container. If that's the case, just try localhost instead.

[–] techgearwhips@lemmy.world 1 points 1 year ago* (last edited 1 year ago)

Localhost definitely won't work because I will get the error "Domain must contain at least one dot!".

[–] deleted@lemmy.world 1 points 1 year ago

There’s environment entry to disable domain check but it’ll not run as you must configure reverse proxy at least to get the certificate. I spent 3 hours yesterday until I gave up and removed it.

It’s kinda misleading stating it can run locally with no reverse proxy without mentioning it’s necessary to complete the installation process.

Source: nextcloud local installation guide.