ConfigLMM 0.2.0 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (60) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +31 -0
  3. data/Examples/Implemented.mm.yaml +75 -1
  4. data/Plugins/Apps/Authentik/Authentik-Server.container +18 -0
  5. data/Plugins/Apps/Authentik/Authentik-Worker.container +17 -0
  6. data/Plugins/Apps/Authentik/Authentik.conf.erb +35 -0
  7. data/Plugins/Apps/Authentik/Authentik.lmm.rb +73 -0
  8. data/Plugins/Apps/Cassandra/Cassandra.lmm.rb +41 -0
  9. data/Plugins/Apps/Dovecot/Dovecot.lmm.rb +148 -0
  10. data/Plugins/Apps/GitLab/GitLab.conf.erb +26 -0
  11. data/Plugins/Apps/GitLab/GitLab.container +17 -0
  12. data/Plugins/Apps/GitLab/GitLab.lmm.rb +75 -0
  13. data/Plugins/Apps/Nextcloud/Nextcloud.conf.erb +48 -10
  14. data/Plugins/Apps/Nextcloud/Nextcloud.lmm.rb +59 -2
  15. data/Plugins/Apps/Nextcloud/config.php +18 -0
  16. data/Plugins/Apps/Nginx/conf.d/configlmm.conf +62 -0
  17. data/Plugins/Apps/Nginx/config-lmm/errors.conf +1 -1
  18. data/Plugins/Apps/Nginx/main.conf.erb +31 -0
  19. data/Plugins/Apps/Nginx/nginx.conf +3 -68
  20. data/Plugins/Apps/Nginx/nginx.lmm.rb +71 -14
  21. data/Plugins/Apps/Odoo/Odoo.conf.erb +30 -13
  22. data/Plugins/Apps/Odoo/Odoo.container +17 -0
  23. data/Plugins/Apps/Odoo/Odoo.lmm.rb +62 -2
  24. data/Plugins/Apps/Odoo/odoo.conf +37 -0
  25. data/Plugins/Apps/PHP-FPM/PHP-FPM.lmm.rb +95 -0
  26. data/Plugins/Apps/Peppermint/Peppermint.conf.erb +64 -0
  27. data/Plugins/Apps/Peppermint/Peppermint.container +14 -0
  28. data/Plugins/Apps/Peppermint/Peppermint.lmm.rb +58 -0
  29. data/Plugins/Apps/Postfix/Postfix.lmm.rb +139 -31
  30. data/Plugins/Apps/Postfix/smtpd.conf +3 -0
  31. data/Plugins/Apps/PostgreSQL/PostgreSQL.lmm.rb +172 -23
  32. data/Plugins/Apps/SSH/SSH.lmm.rb +51 -0
  33. data/Plugins/Apps/UVdesk/UVdesk.conf.erb +52 -0
  34. data/Plugins/Apps/UVdesk/UVdesk.lmm.rb +85 -0
  35. data/Plugins/Apps/Valkey/Valkey.lmm.rb +2 -1
  36. data/Plugins/Apps/Vaultwarden/Vaultwarden.conf.erb +35 -18
  37. data/Plugins/Apps/Vaultwarden/Vaultwarden.container +16 -0
  38. data/Plugins/Apps/Vaultwarden/Vaultwarden.lmm.rb +42 -3
  39. data/Plugins/Apps/gollum/gollum.conf.erb +45 -18
  40. data/Plugins/Apps/gollum/gollum.container +12 -0
  41. data/Plugins/Apps/gollum/gollum.lmm.rb +39 -10
  42. data/Plugins/OS/Linux/Distributions.yaml +10 -0
  43. data/Plugins/OS/Linux/Linux.lmm.rb +145 -12
  44. data/Plugins/OS/Linux/Packages.yaml +42 -4
  45. data/Plugins/OS/Linux/WireGuard/WireGuard.lmm.rb +108 -0
  46. data/Plugins/OS/Linux/WireGuard/wg0.conf.erb +15 -0
  47. data/Plugins/OS/Linux/systemd/systemd.lmm.rb +28 -0
  48. data/Plugins/OS/Linux/systemd/user-0.slice +9 -0
  49. data/Plugins/OS/Linux/systemd/user@.service.d/delegate.conf +3 -0
  50. data/Plugins/Platforms/GoDaddy/GoDaddy.lmm.rb +6 -2
  51. data/Plugins/Services/DNS/PowerDNS.lmm.rb +69 -6
  52. data/README.md +6 -0
  53. data/bootstrap.sh +54 -0
  54. data/lib/ConfigLMM/Framework/plugins/dns.rb +1 -2
  55. data/lib/ConfigLMM/Framework/plugins/linuxApp.rb +157 -35
  56. data/lib/ConfigLMM/Framework/plugins/nginxApp.rb +24 -6
  57. data/lib/ConfigLMM/Framework/plugins/plugin.rb +52 -12
  58. data/lib/ConfigLMM/version.rb +1 -1
  59. metadata +31 -3
  60. data/Plugins/Apps/Nginx/main.conf +0 -30
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ConfigLMM
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dāvis Mosāns
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-07-19 00:00:00.000000000 Z
11
+ date: 2024-08-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable
@@ -412,7 +412,15 @@ files:
412
412
  - Images/singleConfig.png
413
413
  - Plugins/Apps/ArchiSteamFarm/ArchiSteamFarm.conf.erb
414
414
  - Plugins/Apps/ArchiSteamFarm/ArchiSteamFarm.lmm.rb
415
+ - Plugins/Apps/Authentik/Authentik-Server.container
416
+ - Plugins/Apps/Authentik/Authentik-Worker.container
417
+ - Plugins/Apps/Authentik/Authentik.conf.erb
418
+ - Plugins/Apps/Authentik/Authentik.lmm.rb
419
+ - Plugins/Apps/Cassandra/Cassandra.lmm.rb
415
420
  - Plugins/Apps/Dovecot/Dovecot.lmm.rb
421
+ - Plugins/Apps/GitLab/GitLab.conf.erb
422
+ - Plugins/Apps/GitLab/GitLab.container
423
+ - Plugins/Apps/GitLab/GitLab.lmm.rb
416
424
  - Plugins/Apps/IPFS/IPFS.conf.erb
417
425
  - Plugins/Apps/IPFS/IPFS.lmm.rb
418
426
  - Plugins/Apps/InfluxDB/InfluxDB.conf.erb
@@ -429,37 +437,56 @@ files:
429
437
  - Plugins/Apps/Netdata/Netdata.lmm.rb
430
438
  - Plugins/Apps/Nextcloud/Nextcloud.conf.erb
431
439
  - Plugins/Apps/Nextcloud/Nextcloud.lmm.rb
440
+ - Plugins/Apps/Nextcloud/config.php
441
+ - Plugins/Apps/Nginx/conf.d/configlmm.conf
432
442
  - Plugins/Apps/Nginx/config-lmm/errors.conf
433
443
  - Plugins/Apps/Nginx/config-lmm/private.conf
434
444
  - Plugins/Apps/Nginx/config-lmm/proxy.conf
435
445
  - Plugins/Apps/Nginx/config-lmm/public.conf
436
446
  - Plugins/Apps/Nginx/config-lmm/security.conf
437
447
  - Plugins/Apps/Nginx/config-lmm/ssl.conf
438
- - Plugins/Apps/Nginx/main.conf
448
+ - Plugins/Apps/Nginx/main.conf.erb
439
449
  - Plugins/Apps/Nginx/nginx.conf
440
450
  - Plugins/Apps/Nginx/nginx.lmm.rb
441
451
  - Plugins/Apps/Nginx/proxy.conf.erb
442
452
  - Plugins/Apps/Odoo/Odoo.conf.erb
453
+ - Plugins/Apps/Odoo/Odoo.container
443
454
  - Plugins/Apps/Odoo/Odoo.lmm.rb
455
+ - Plugins/Apps/Odoo/odoo.conf
456
+ - Plugins/Apps/PHP-FPM/PHP-FPM.lmm.rb
457
+ - Plugins/Apps/Peppermint/Peppermint.conf.erb
458
+ - Plugins/Apps/Peppermint/Peppermint.container
459
+ - Plugins/Apps/Peppermint/Peppermint.lmm.rb
444
460
  - Plugins/Apps/Postfix/Postfix.lmm.rb
461
+ - Plugins/Apps/Postfix/smtpd.conf
445
462
  - Plugins/Apps/PostgreSQL/PostgreSQL.lmm.rb
446
463
  - Plugins/Apps/Pterodactyl/Pterodactyl.conf.erb
447
464
  - Plugins/Apps/Pterodactyl/Pterodactyl.lmm.rb
448
465
  - Plugins/Apps/Pterodactyl/Wings.conf.erb
466
+ - Plugins/Apps/SSH/SSH.lmm.rb
449
467
  - Plugins/Apps/Sunshine/Sunshine.conf.erb
450
468
  - Plugins/Apps/Sunshine/Sunshine.lmm.rb
469
+ - Plugins/Apps/UVdesk/UVdesk.conf.erb
470
+ - Plugins/Apps/UVdesk/UVdesk.lmm.rb
451
471
  - Plugins/Apps/Valkey/Valkey.lmm.rb
452
472
  - Plugins/Apps/Vaultwarden/Vaultwarden.conf.erb
473
+ - Plugins/Apps/Vaultwarden/Vaultwarden.container
453
474
  - Plugins/Apps/Vaultwarden/Vaultwarden.lmm.rb
454
475
  - Plugins/Apps/bitmagnet/bitmagnet.conf.erb
455
476
  - Plugins/Apps/bitmagnet/bitmagnet.lmm.rb
456
477
  - Plugins/Apps/gollum/config.ru
457
478
  - Plugins/Apps/gollum/gollum.conf.erb
479
+ - Plugins/Apps/gollum/gollum.container
458
480
  - Plugins/Apps/gollum/gollum.lmm.rb
459
481
  - Plugins/OS/Linux/Distributions.yaml
460
482
  - Plugins/OS/Linux/Linux.lmm.rb
461
483
  - Plugins/OS/Linux/Packages.yaml
484
+ - Plugins/OS/Linux/WireGuard/WireGuard.lmm.rb
485
+ - Plugins/OS/Linux/WireGuard/wg0.conf.erb
462
486
  - Plugins/OS/Linux/openSUSE/autoinst.xml.erb
487
+ - Plugins/OS/Linux/systemd/systemd.lmm.rb
488
+ - Plugins/OS/Linux/systemd/user-0.slice
489
+ - Plugins/OS/Linux/systemd/user@.service.d/delegate.conf
463
490
  - Plugins/OS/Routers/Aruba/ArubaInstant.lmm.rb
464
491
  - Plugins/Platforms/GitHub.lmm.rb
465
492
  - Plugins/Platforms/GoDaddy/GoDaddy.lmm.rb
@@ -478,6 +505,7 @@ files:
478
505
  - bin/configlmm
479
506
  - bin/console
480
507
  - bin/setup
508
+ - bootstrap.sh
481
509
  - lib/ConfigLMM.rb
482
510
  - lib/ConfigLMM/Framework.rb
483
511
  - lib/ConfigLMM/Framework/plugins.rb
@@ -1,30 +0,0 @@
1
-
2
- server {
3
- listen 80;
4
- listen [::]:80;
5
- server_name _;
6
-
7
- include config-lmm/errors.conf;
8
-
9
- deny all;
10
- }
11
-
12
- server {
13
- listen 443 ssl reuseport;
14
- listen [::]:443 ssl reuseport;
15
- http2 on;
16
-
17
- server_name _;
18
-
19
- deny all;
20
-
21
- ssl_early_data on;
22
-
23
- ssl_certificate "/etc/letsencrypt/live/<%= certName %>/fullchain.pem";
24
- ssl_certificate_key "/etc/letsencrypt/live/<%= certName %>/privkey.pem";
25
- ssl_trusted_certificate "/etc/letsencrypt/live/<%= certName %>/chain.pem";
26
-
27
- include config-lmm/errors.conf;
28
- include config-lmm/security.conf;
29
- include config-lmm/ssl.conf;
30
- }