Skip to content

MikiDevLog/nextcloud-ansible-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NextCloud ansible playbook by me

Just a project for learning DevOps, which deploys NextCloud to a server with Ubuntu OS via Ansible.

Files whose fields need to be changed before use:

  1. ansible.cfg
remote_user =

Change to the username on your server.

  1. 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.

Configuration templates

roles/nextcloud/templates/docker-compose.yml.j2

Standard configuration for running DB containers and NextCloud itself under a non-root user.

roles/nextcloud/templates/env.j2

Env file with password for DB and NC

roles/nginx/templates/nextcloud.conf.j2

Configuration of nginx reverse proxy.

roles/ssl/templates/nextcloud-ssl.conf.j2

Configuration of nginx reverse proxy using https. Applies if use_letsencrypt: true

Important Warning

Checking the ssl role failed due to problems with the ISP.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages