v0.0.1
This commit is contained in:
23
templates/n8n.md.j2
Normal file
23
templates/n8n.md.j2
Normal file
@@ -0,0 +1,23 @@
|
||||
# n8n Setup
|
||||
|
||||
## Configured n8n Sites
|
||||
|
||||
{% if n8n_sites | length > 0 %}
|
||||
{% for site in n8n_sites %}
|
||||
- **Name:** {{ site.name }}
|
||||
- **Deploy Type:** {{ site.deploy_type }}
|
||||
- **Path:** {{ site.path | default('/srv/' + site.name) }}
|
||||
- **Host:** {{ (site.app_options | default({})).host | default(n8n_default_host) }}
|
||||
- **Port:** {{
|
||||
((site.docker_options | default({})).listen_port
|
||||
if site.deploy_type == 'docker' else (site.app_options | default({})).port)
|
||||
| default(n8n_default_port)
|
||||
}}
|
||||
- **Protocol:** {{ (site.app_options | default({})).protocol | default(n8n_default_protocol) }}
|
||||
- **Image:** {{ (site.docker_options | default({})).image | default(n8n_default_image) if site.deploy_type == 'docker' else '' }}
|
||||
- **Repo:** {{ (site.app_options | default({})).repo_path | default(n8n_default_repo) if site.deploy_type == 'repo' else '' }}
|
||||
- **Package:** {{ (site.app_options | default({})).package_name | default(n8n_default_package_name) if site.deploy_type == 'package' else '' }}
|
||||
{% endfor %}
|
||||
{% else %}
|
||||
No n8n sites configured.
|
||||
{% endif %}
|
||||
Reference in New Issue
Block a user