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

Selfhosted

40137 readers
555 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
[–] rambos@lemm.ee 3 points 1 year ago* (last edited 1 year ago) (2 children)

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

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

I found it while toying with CasaOS. it did work flowlessly without hassle.

https://hub.docker.com/r/linuxserver/nextcloud/

version: "2.1" services: nextcloud: image: lscr.io/linuxserver/nextcloud:latest container_name: nextcloud environment: - PUID=1000 - PGID=1000 - TZ=Etc/UTC volumes: - /path/to/appdata:/config - /path/to/data:/data ports: - 443:443 restart: unless-stopped

[–] rambos@lemm.ee 1 points 1 year ago

My code block is messed up somehow, but docker-compose is just modified one from the link, but with my volume paths, puid, pgid, TZ and port