Code Monkey home page Code Monkey logo

ansible_role_nextcloud_docker's Introduction

docker_nextcloud

This role deploys NextCloud in a Docker with Collabora Online and/or OnlyOffice The main repo for this role is on Le Filament GitLab

Requirements

None

Role Variables

Variables from default directory :

  • nextcloud_db_version: MariaDB version to be deployed (defaults to 10.8)

  • nextcloud_version: NextCloud version to be deployed (defaults to 24.0.5)

  • cloud_url: URL on which NextCloud will be listening

  • cloud_db_root: Database root password

  • cloud_db_pass: Database password

  • cloud_admin_user: NextCloud Admin user

  • cloud_admin_pass: NextCloud Admin password

  • extra_cloud_urls: Allows NextCloud to connect to listed URLS (OPTIONAL whitelists)

  • extra_cloud_vars: Allows to define extra environment variables for NextCloud Docker (OPTIONAL)

  • Collaborative edition

    • Collabora :
      • cloud_collabora: whether to deploy CollaboraOnline (defaults to false)
      • cloud_collabora_url: URL on which Collabora will be listening
      • cloud_collabora_admin_user: Collabora admin user
      • cloud_collabora_admin_pass: Collabora admin password
    • OnlyOffice
      • cloud_onlyoffice: whether to deploy CollaboraOnline (defaults to false)
      • cloud_onlyoffice_url: URL on which OnlyOffice will be listening
  • Backups (for backups to be deployed, host needs to be in maintenance_contract group)

    • swift parameters for object storage instance where backups should be pushed weekly
    • cloud_backup_pass : Passphrase for encryption of backups

Dependencies

This role requires the following Ansible collection :

  • community.docker

This Docker role supposes that Traefik is deployed as an inverseproxy in front of the deployed Dockers. The following role is used by Le Filament for deploying Traefik : docker_server (https://sources.le-filament.com/lefilament/ansible-roles/docker_server)

Example Playbook

Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:

- hosts: servers
  roles:
     - { role: docker_nextcloud }
  vars:
     - { cloud_url: "cloud.example.org" }
     - { cloud_db_root: "veryUnsecureRootPassToBeModified" }
     - { cloud_db_pass: "veryUnsecurePassToBeModified" }
     - { cloud_admin_user: "admin" }
     - { cloud_admin_pass: "veryUnsecureAdminPassToBeModified" }

License

AGPL-3

Author Information

Le Filament (https://le-filament.com)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.