Skip to content

Latest commit

 

History

History
47 lines (30 loc) · 652 Bytes

README.md

File metadata and controls

47 lines (30 loc) · 652 Bytes

Server config

Prepare your config files and edit public keys and other variables:

./setup.sh
nano vars.yml

Run the playbook to set up users and firewall.

sudo ansible-playbook main.yml

Install docker:

sudo ansible-playbook main.yml -t docker

Install nginx:

sudo ansible-playbook main.yml -t nginx

Install nextcloud:

sudo ansible-playbook main.yml -t nextcloud

Secure the server (do not allow password ssh auth):

sudo ansible-playbook main.yml -t security

Quick setup

sh -c  "$(curl -sL https://raw.githubusercontent.com/tna76874/server-setup/main/install)"