Skip to content
Extraits de code Groupes Projets
Sélectionner une révision Git
  • bd933e339c9e4d2380a0eae85991a90e4258e2d3
  • main par défaut protégée
  • v0.1.3
  • v0.1.2
  • v0.1.1
  • v0.1.0
6 résultats

README.md

Blame
  • docker_odoo

    This role deploys Metabase with Docker, possibly with PostgreSQL as database. By default, this role would deploy as many instances as defined in metabase_instances variable.

    Requirements

    This role requires Ansible collection community.docker

    Role Variables

    This role makes use of an important number of variables. Part of these variables are described with comments in defaults/main.yml.

    The variable structure for instances is defined below :

    # You can define as many instances as you want
    
    # Metabase instances definition.
    metabase_instances:
      metabase:
        ## List of route (domain + optional prefix)
        routes:
          - domain: "{{ SERVER_metabase_domain1 }}"
          - domain: "{{ SERVER_metabase_domain2 }}"
            prefix: "/metabase"
        ## Database
        # database:
        #   type: "h2"
        # database:
        #   type: "postgres"
        #   user: "{{ SERVER_metabase_db_user }}"
        #   password: "{{ SERVER_metabase_db_password }}"
        #   name: "{{ SERVER_metabase_db_name }}"
        ## OPTIONAL - For maintenance only
        # backup:
        #   enabled: true 
        #   passphrase: "{{ SERVER_metabase_backup_pass }}"

    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

    Given the number of variables (see defaults/main.yml), it would be preferable to create a host_vars file listing all the variables needed for you Odoo server, rather than giving your variables through the playbook directly.

    License

    AGPL-3

    Author Information

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