Skip to content

A tutorial for setting up a self-hosted home server with Nextcloud AIO totally free

License

Notifications You must be signed in to change notification settings

souovan/nextcloud_home_server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

caddy + tailscale (Full free way of hosting a home server)

tailscale funnel 80 &
  • Create a letsencrypt certificate

https://certbot.eff.org/instructions

  • Install Docker
curl -fsSL https://get.docker.com | sudo sh
  • Install caddy

  • Create Caddyfile in /etc/caddy

https://caddyserver.com/docs/quick-starts/reverse-proxy#caddyfile

:80

reverse_proxy :11000
  • Move to /etc/caddy and start caddy
caddy start &
  • Run Nextcloud AIO
sudo docker run \
--init \
--sig-proxy=false \
--name nextcloud-aio-mastercontainer \
--restart always \
--publish 8080:8080 \
--env APACHE_PORT=11000 \
--env APACHE_IP_BINDING=0.0.0.0 \
--volume nextcloud_aio_mastercontainer:/mnt/docker-aio-config \
--volume /var/run/docker.sock:/var/run/docker.sock:ro \
nextcloud/all-in-one:latest
  • Access https://<server_ip>:8080

  • Select containers to run

Select containers to run

  • Set timezone

Set timezone

  • Click Download and start containers

Download and start containers

If any connection error occurs check caddy and tailscale and restart each service

Troubleshoot, check port 80

ss -atunp | grep :80

To Remove Nextcloud AIO

https://github.com/nextcloud/all-in-one#how-to-properly-reset-the-instance

Reference

https://github.com/nextcloud/all-in-one/blob/main/reverse-proxy.md#2-use-this-startup-command

About

A tutorial for setting up a self-hosted home server with Nextcloud AIO totally free

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published