35 lines
870 B
Markdown
35 lines
870 B
Markdown
# Nextcloud on Ubuntu via Docker for nxt.bhatfamily.in
|
|
|
|
This repo deploys Nextcloud using Docker on Ubuntu, fronted by Nginx on:
|
|
|
|
- HTTP: 8082
|
|
- HTTPS: 8446
|
|
|
|
It is intended to serve the hostname **nxt.bhatfamily.in**.
|
|
|
|
## Prerequisites
|
|
|
|
- Ubuntu host with Docker and Docker Compose installed
|
|
- Static public IP (or Cloudflare Tunnel)
|
|
- Domain `bhatfamily.in` managed in Cloudflare
|
|
- Basic familiarity with UFW and router port forwarding
|
|
|
|
## DNS (Cloudflare)
|
|
|
|
1. In Cloudflare DNS for `bhatfamily.in`, create:
|
|
|
|
- Type: A
|
|
- Name: `nxt`
|
|
- IPv4: your Ubuntu server public IP
|
|
- Proxy: DNS only (grey cloud)
|
|
|
|
2. Forward ports 8082 and 8446 from your router to the Ubuntu host.
|
|
|
|
## First-time setup
|
|
|
|
1. Clone this repo and enter directory:
|
|
|
|
```bash
|
|
git clone <your-repo-url> nextcloud-docker-nxt.bhatfamily.in
|
|
cd nextcloud-docker-nxt.bhatfamily.in
|