Skip to content

takamasa1999/nextcloud-with-tailscale

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nextcloud All-in-One with Tailscale

This repository stores the optimal configuration for running Nextcloud All-in-One with TailscaleTailscale on my home server. Built for myself. If it helps you, even better.

Variants

For various use cases, three variants are provided. Each variant's name aligns with its corresponding directory in this repository.

local

This runs only within your Tailscale network. Found the seed of this solution here

public

This runs on the internet so that you can share with anybody without inviting them on your Tailscale network. Found the seed of this solution here

public-hostscale (preferred)

This solution is intended for a server with Tailscale pre-installed and its funnel option activated. Essential setup steps include:

  • HTTPS Enablement: Configure Tailscale certificates to facilitate secure HTTPS connections.
  • Tailscale Funneling: Direct incoming requests from the Tailscale network's port 443 to the local nextcloud-aio-apache instance on port 11000.
    sudo tailscale funnel --bg --https=443 11000
  • Router Port Forwarding: Set a static IP for the server on your router, then forward the Nextcloud Talk port.
  • Firewall Adjustment: Confirm your firewall settings are open for all required network traffic.

Tips

Delete existing docker containers and networks.

docker compose down;\
docker stop $(docker ps -aq);\
docker rm $(docker ps -aq);\
docker network rm nextcloud-aio

*To initiate this app you have to delete the data dir and volumes of nextcloud-aio-mastercontainer after the command above.

Boot configuration

  • Create systemd service to turn off built-in displays at the boot.
    sudo vbetool dpms off
  • Set fstab to mount your external drive at the boot Used the command below to check the UUID of the target drive.
    lsblk -o KNAME,TYPE,SIZE,MODEL,UUID
    Don't forget to execute below before rebooting your computer to check whether the new setting is working properly
    sudo mount -a

Maintenance

  • Update and upgrade apt packages
  • Login to Nextcloud as admin
  • Go to the setting and open Nextcloud AIO Interface

About

Docker compose files for running Nextcloud All-in-one with Tailscale network on your home server

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published