mirror of
https://github.com/davestephens/ansible-nas
synced 2025-01-12 11:38:47 +00:00
Docs included
I've also updated the configuration for the new traefik configuration.
This commit is contained in:
parent
0524406120
commit
f0a36fef7e
3 changed files with 20 additions and 3 deletions
14
docs/applications/n8n.md
Normal file
14
docs/applications/n8n.md
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
# Nodemation (n8n)
|
||||||
|
|
||||||
|
Homepage: [ihttps://n8n.io](https://n8n.io)
|
||||||
|
|
||||||
|
|
||||||
|
## Usage
|
||||||
|
|
||||||
|
Set `n8n_enabled: true` in your `inventories/<your_inventory>/nas.yml` file.
|
||||||
|
|
||||||
|
n8n is secured by default, he user and password can be set with:
|
||||||
|
* n8n_basic_auth_user: "<user name>"
|
||||||
|
* n8n_basic_auth_password: "<user password>"
|
||||||
|
|
||||||
|
The default for these is "n8n_user" and "n8n_change_me" respectively, it is recommended to change these.
|
|
@ -39,6 +39,7 @@ By default, applications can be found on the ports listed below.
|
||||||
| Mosquitto | 9001 | Websocket |
|
| Mosquitto | 9001 | Websocket |
|
||||||
| Mylar | 8585 | HTTP |
|
| Mylar | 8585 | HTTP |
|
||||||
| MyMediaForAlexa | 52051 | |
|
| MyMediaForAlexa | 52051 | |
|
||||||
|
| n8n | 5678 | HTTP |
|
||||||
| Netdata | 19999 | |
|
| Netdata | 19999 | |
|
||||||
| Nextcloud | 8080 | |
|
| Nextcloud | 8080 | |
|
||||||
| NZBGet | 6789 | |
|
| NZBGet | 6789 | |
|
||||||
|
|
|
@ -23,7 +23,9 @@
|
||||||
N8N_BASIC_AUTH_USER: "{{ n8n_basic_auth_user }}"
|
N8N_BASIC_AUTH_USER: "{{ n8n_basic_auth_user }}"
|
||||||
N8N_BASIC_AUTH_PASSWORD: "{{ n8n_basic_auth_password }}"
|
N8N_BASIC_AUTH_PASSWORD: "{{ n8n_basic_auth_password }}"
|
||||||
labels:
|
labels:
|
||||||
traefik.backend: "n8n"
|
|
||||||
traefik.frontend.rule: "Host:n8n.{{ ansible_nas_domain }}"
|
|
||||||
traefik.enable: "{{ n8n_available_externally }}"
|
traefik.enable: "{{ n8n_available_externally }}"
|
||||||
traefik.port: "5678"
|
traefik.http.routers.n8n.rule: "Host(`{{ n8n_hostname }}.{{ ansible_nas_domain }}`)"
|
||||||
|
traefik.http.routers.n8n.tls.certresolver: "letsencrypt"
|
||||||
|
traefik.http.routers.n8n.tls.domains[0].main: "{{ ansible_nas_domain }}"
|
||||||
|
traefik.http.routers.n8n.domains[0].sans: "*.{{ ansible_nas_domain }}"
|
||||||
|
traefik.http.services.gitea.loadbalancer.server.port: "5678"
|
||||||
|
|
Loading…
Reference in a new issue