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.

  • rambos@lemm.ee
    link
    fedilink
    English
    arrow-up
    3
    ·
    edit-2
    10 months ago

    Have you tried LSIO image?

    This is my docker-compose:

    `version: “3” services:   nextcloud:     image: lscr.io/linuxserver/nextcloud:latest     container_name: nextcloud     environment:       - PUID=1000       - PGID=100       - TZ=Europe/Zagreb

        volumes:       - /home/config/nextcloud:/config       - /srv/dev-disk-by-uuid-22495ee1-7931-4383-8ba5-7e8fb0f463f9/data500/data/nextcloud:/data     ports:       - 4443:443     restart: unless-stopped`

    I can open it at https://192.168.0.40:4443

    I am using nginx reverse proxy, but Im quite sure its working without one out of the box

    • techgearwhips@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      10 months ago

      I tried the all in one a few times. I run it from localhost:8080 and the NextCloud setup keeps asking me to put in a domain name. I just want to be able to run from localhost with no domain needed.

      • Strit@lemmy.linuxuserspace.show
        link
        fedilink
        English
        arrow-up
        3
        ·
        10 months ago

        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.worldOP
          link
          fedilink
          English
          arrow-up
          1
          ·
          10 months 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.worldOP
          link
          fedilink
          English
          arrow-up
          1
          arrow-down
          1
          ·
          10 months ago

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

          • redcalcium@lemmy.institute
            link
            fedilink
            English
            arrow-up
            2
            ·
            10 months ago

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

            • techgearwhips@lemmy.worldOP
              link
              fedilink
              English
              arrow-up
              1
              ·
              edit-2
              10 months ago

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

          • deleted@lemmy.world
            link
            fedilink
            English
            arrow-up
            1
            ·
            10 months 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.

  • Decronym@lemmy.decronym.xyzB
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    10 months ago

    Acronyms, initialisms, abbreviations, contractions, and other phrases which expand to something larger, that I’ve seen in this thread:

    Fewer Letters More Letters
    DNS Domain Name Service/System
    HTTP Hypertext Transfer Protocol, the Web
    SSL Secure Sockets Layer, for transparent encryption
    nginx Popular HTTP server

    3 acronyms in this thread; the most compressed thread commented on today has 10 acronyms.

    [Thread #112 for this sub, first seen 6th Sep 2023, 14:25] [FAQ] [Full list] [Contact] [Source code]