1
0
Fork 0
mirror of https://github.com/DO1JLR/ansible_playbook_servers.git synced 2024-09-14 19:53:56 +02:00

Merge pull request #47 from DO1JLR/homebox

Homebox
This commit is contained in:
L3D 2024-01-12 17:21:44 +01:00 committed by GitHub
commit de03312fec
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 48 additions and 3 deletions

3
.gitmodules vendored
View file

@ -141,3 +141,6 @@
[submodule "collections/ansible_collections/l3d/time"] [submodule "collections/ansible_collections/l3d/time"]
path = collections/ansible_collections/l3d/time path = collections/ansible_collections/l3d/time
url = https://github.com/roles-ansible/ansible_collection_time.git url = https://github.com/roles-ansible/ansible_collection_time.git
[submodule "roles/l3d.homebox"]
path = roles/l3d.homebox
url = https://github.com/roles-ansible/ansible_role_homebox.git

@ -1 +1 @@
Subproject commit 0847977d1216cbe2b09a22900210343812591d6c Subproject commit e929aad539c46b8fa01bfcb393504ff306b3bce5

@ -1 +1 @@
Subproject commit 2d3f508d490d8576cff68dc32c64450b8c7894d3 Subproject commit 6862285e732e094c49a8851fd8e8229a96fd3243

@ -1 +1 @@
Subproject commit 11802e4e9a8f785d3f6ad23cd5af24d62ed6f5a4 Subproject commit d0f3c784f8e608bd6a8af9b5465d326f23c5e892

View file

@ -6,6 +6,8 @@ nginx_sites:
- name: 'etebase.l3d.ch' - name: 'etebase.l3d.ch'
- name: 'grafana.l3d.ch' - name: 'grafana.l3d.ch'
- name: 'www.grafana.l3d.ch' - name: 'www.grafana.l3d.ch'
- name: 'i.l3d.ch'
- name: 'www.i.l3d.ch'
- name: 'node-exporter.services.l3d.space' - name: 'node-exporter.services.l3d.space'
- name: 'nginx-exporter.services.l3d.space' - name: 'nginx-exporter.services.l3d.space'
@ -44,6 +46,10 @@ grafana_dashboards:
revision_id: '1' revision_id: '1'
datasource: '{{ grafana_datasources.0.name }}' datasource: '{{ grafana_datasources.0.name }}'
# l3d.homebox
homebox__env_options_allow_registration: false
homebox__env_web_host: '127.0.0.1'
# l3d.nginx_exporter # l3d.nginx_exporter
nginx_exporter_listen_address: '127.0.0.1:9113' nginx_exporter_listen_address: '127.0.0.1:9113'
nginx_exporter_scrape_uri: 'https://node-exporter.services.l3d.space/nginx_status' nginx_exporter_scrape_uri: 'https://node-exporter.services.l3d.space/nginx_status'

1
roles/l3d.homebox Submodule

@ -0,0 +1 @@
Subproject commit 66657529f3a19c9c43203e12371c5f90192f6de8

View file

@ -50,6 +50,7 @@
- {role: do1jlr.etebase, tags: [etebase, etesync, calendar, kalender, contacts, kontakte]} - {role: do1jlr.etebase, tags: [etebase, etesync, calendar, kalender, contacts, kontakte]}
- {role: grafana.grafana.grafana, tags: [grafana. monitoring]} - {role: grafana.grafana.grafana, tags: [grafana. monitoring]}
- {role: prometheus.prometheus.prometheus, tags: [monitoring, prometheus]} - {role: prometheus.prometheus.prometheus, tags: [monitoring, prometheus]}
- {role: l3d.homebox, tags: [homebox]}
- name: Deploy mail config - name: Deploy mail config
hosts: mail hosts: mail

View file

@ -0,0 +1,20 @@
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
server_name i.l3d.ch;
include snippets/tls_parameters_{{ site.name }}.snippet.conf;
include snippets/tls_certificate_{{ site.name }}.snippet.conf;
include snippets/logging_{{ site.name }}.snippet.conf;
location / {
proxy_pass http://localhost:7745;
client_max_body_size 10M;
proxy_read_timeout 1600;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
}

View file

@ -0,0 +1,14 @@
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
server_name www.i.l3d.ch;
include snippets/tls_parameters_{{ site.name }}.snippet.conf;
include snippets/tls_certificate_{{ site.name }}.snippet.conf;
include snippets/logging_{{ site.name }}.snippet.conf;
location / {
return 308 https://i.l3d.ch/;
}
}