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.
For various use cases, three variants are provided. Each variant's name aligns with its corresponding directory in this repository.
This runs only within your Tailscale network. Found the seed of this solution here
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
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.
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.
- 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.
Don't forget to execute below before rebooting your computer to check whether the new setting is working properly
lsblk -o KNAME,TYPE,SIZE,MODEL,UUID
sudo mount -a
- Update and upgrade apt packages
- Login to Nextcloud as admin
- Go to the setting and open Nextcloud AIO Interface