Just a project for learning DevOps, which deploys NextCloud to a server with Ubuntu OS via Ansible.
- ansible.cfg
remote_user =Change to the username on your server.
- group_vars/all.yml
domain_name: "name.com"
mysql_root_password: "RootPasswordLmao"
mysql_password: "PasswordLmao"
ssl_email: "some-mail@mail.com"Change passwords, email and domain name to yours.
The domain name can be written as the IP of your server, but then
use_letsencrypt: must be false.
roles/nextcloud/templates/docker-compose.yml.j2Standard configuration for running DB containers and NextCloud itself under a non-root user.
roles/nextcloud/templates/env.j2Env file with password for DB and NC
roles/nginx/templates/nextcloud.conf.j2Configuration of nginx reverse proxy.
roles/ssl/templates/nextcloud-ssl.conf.j2Configuration of nginx reverse proxy using https.
Applies if use_letsencrypt: true
Checking the ssl role failed due to problems with the ISP.