Commit a061f8bd authored by Daniel Dehennin's avatar Daniel Dehennin

feat(setup): install plugins from git URLs

We do not configure them yet.
parent 039d640a
......@@ -96,6 +96,7 @@ volumes:
host: {{ discourse.directory | path_join('shared', 'standalone', 'log', 'var-log') }}
guest: /var/log
{% set plugins = discourse | traverse('plugins', {}) -%}
## Plugins go here
## see https://meta.discourse.org/t/19157 for details
hooks:
......@@ -107,6 +108,11 @@ hooks:
{%- if discourse | traverse('oauth2:enabled', False) | to_bool %}
- git clone {{ discourse | traverse('oauth2:git-url') }}
{%- endif %}
{%- for name, params in plugins.items() %}
{%- if params.get('url', None) %}
- git clone {{ params.get('url') }}
{%- endif %}
{%- endfor %}
## Any custom commands to run after building
run:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment