Commit Graph

49 Commits

Author SHA1 Message Date
007963044b refactor: centralize web front proxy and internal nginx configs
Unify reverse proxy handling across apps via sys-stk-front-proxy and cleanly separate internal docker nginx configs from external vhosts.

Changes:

- docker-compose: use with_first_found for optional env and docker-compose.override files so roles can provide either a template or a static file without noisy 'Could not find or access' failures.

- sys-stk-front-proxy: remove front_proxy_domain_conf_src and switch nginx vhost rendering to with_first_found over app-specific proxy.conf.j2 and the generic roles/sys-svc-proxy vhost flavour; keep health-check and handler logic unchanged.

- web-app-nextcloud: migrate to sys-stk-full-stateful (front proxy + DB + docker), move internal nginx config to docker.conf.j2 under the volume path, and rename host.conf.j2 to proxy.conf.j2 for the external vhost.

- web-app-magento: rename nginx.conf.j2 to docker.conf.j2 and update the runtime template task accordingly to make the intent (internal nginx) explicit.

- web-app-matrix: rename nginx.conf.j2 to synapse.conf.j2 and adjust the webserver task to use the new template name for the synapse vhost.

- web-app-bridgy-fed & web-app-flowise: pass domain and http_port explicitly when including sys-stk-front-proxy so the front stack has all required context.

- web-svc-cdn/file/html: replace direct sys-stk-front-base + sys-util-csp-cert + nginx.conf.j2 handling with sys-stk-front-proxy and proxy.conf.j2, relying on the shared front-stack for TLS/CSP/vHost wiring.

- web-svc-collabora: drop the direct nginx.conf.j2 vhost generation and rename it to proxy.conf.j2 so it is picked up by sys-stk-front-proxy like other services.

- web-opt-rdr-domains: rename redirect.domain.nginx.conf.j2 to redirect-domain.conf.j2 and adjust the task for clearer and more consistent naming.

Context: see ChatGPT refactor discussion on 2025-11-30 (proxy unification, Collabora/Nextcloud/CDN stacks, CSP/header handling): https://chatgpt.com/share/692c64ea-a488-800f-ad42-7f7692a3742f
2025-11-30 16:38:39 +01:00
aca2da885d Solved multiple MIG bugs 2025-11-26 01:16:22 +01:00
cbfb991e79 Hardened BBB Version 2025-09-26 15:21:01 +02:00
1d29617f85 Added creation of docker-compose.override.yml file 2025-09-26 12:03:47 +02:00
6cf6c74802 Inverted docker_compose_skipp_file_creation to don't use double negation 2025-09-22 13:40:28 +02:00
d9c527e2e2 Changed handler order 2025-09-17 02:36:17 +02:00
71ceb339fc Fix Confluence & BookWyrm setup:
- Add docker compose build trigger in docker-compose tasks
- Cleanup svc-prx-openresty vars
- Enable unsafe-inline CSP flags for BookWyrm, Confluence, Jira to allow Atlassian inline scripts
- Generalize CONFLUENCE_HOME usage in vars, env and docker-compose
- Ensure confluence-init.properties written with correct home
- Add JVM_SUPPORT_RECOMMENDED_ARGS to pass atlassian.home
- Update README to reference {{ CONFLUENCE_HOME }}

See: https://chatgpt.com/share/68b7582a-aeb8-800f-a14f-e98c5b4e6c70
2025-09-02 22:49:02 +02:00
ec07d1a20b Added logic to start docker compose pull just once per directory 2025-08-20 07:02:27 +02:00
022800425d THE HUGE REFACTORING CALENDER WEEK 33; Optimized Matrix and during this updated variables, and implemented better reset and cleanup mode handling, also solved some initial setup bugs 2025-08-15 15:15:48 +02:00
db0e030900 Renamed general and mode constants and implemented a check to verify that constants are just defined ones over the whole repository 2025-08-13 19:11:14 +02:00
53770f5308 Optimized flush order to solve yourls oauth2 proxy bug 2025-08-13 01:03:31 +02:00
1a42e8bd14 Replaced depenencies by includes for performance reasons 2025-08-12 03:08:33 +02:00
1595a7c4a6 Optimized tests für run once 2025-08-12 02:38:37 +02:00
d5e5f57f92 Optimized openproject for new repository structure 2025-08-11 23:03:24 +02:00
3431796283 Wrapped docker compose file routines tasks in block for docker compose 2025-08-11 10:20:06 +02:00
a9d77de2a4 Optimized docker compose ensure logic 2025-08-11 01:26:31 +02:00
22c8c395f0 Refactored handlers loading 2025-08-08 19:01:12 +02:00
aae69ea15b Ensure that keycloak is up 2025-08-08 17:25:31 +02:00
5343536d27 Optimized snipe-it und bbb 2025-07-21 01:40:42 +02:00
ed866bf177 Finished bbb implementation 2025-07-20 20:07:43 +02:00
e1d36045da Solved open run_once issues 2025-07-20 14:23:08 +02:00
6a1a83432f Different optimations and mig integration. test will fail due to strickter validation checks. need to be cleaned up tomorrow 2025-07-18 20:08:20 +02:00
f3439861bb minor improvements 2025-07-09 20:28:58 +02:00
7a38241485 Made code more modular and refactored to cmp roles 2025-07-09 20:15:32 +02:00
f3939661e4 Implemented filter functions to get roles by application_id 2025-07-09 14:52:51 +02:00
c9c73cbdb2 Decoupeld database, docker and proxy 2025-07-09 14:21:30 +02:00
af3767fdfa General optimations 2025-07-09 10:17:32 +02:00
563d5fd528 Huge role refactoring/cleanup. Other commits will propably follow. Because some bugs will exist. Still important for longrun and also for auto docs/help/slideshow generation 2025-07-08 23:43:13 +02:00
a6d226769c Different optimations and bugs 2025-07-07 12:52:37 +02:00
0347d238c2 Great docker refactoring 2025-07-06 18:53:45 +02:00
bd9e43506f Refactored file creation 2025-07-06 15:20:43 +02:00
cfeb8a5bf8 General optimations and refactorings in preparation for simpleicon role implementation 2025-07-06 14:54:31 +02:00
380aa4a37b Optimized code, so that 'docker compose up' can run until setup is finished without any interruptions 2025-06-17 15:08:42 +02:00
4fbf8f505c Solved moodle database character issue: https://github.com/bitnami/containers/issues/81439#issuecomment-2977590924 2025-06-17 12:29:33 +02:00
b599a528b8 Optimized images and version configuration for dockerfiles 2025-05-26 13:06:21 +02:00
cdfd464bce Refactored docker logic 2025-05-25 17:44:58 +02:00
b5b4550cfb Redesigned oidc attributs 2025-04-17 14:50:04 +02:00
7d5d69c380 Solved database backup buck 2025-04-16 13:27:27 +02:00
82e69fc7a6 Removed set_fact domain 2025-02-21 05:49:26 +01:00
40a30cc927 Removed set_fact https_port 2025-02-21 05:46:42 +01:00
bd1395926b Solved Matomo domain bug and refactored 2025-02-19 02:00:41 +01:00
eaca564c6f Added LDAP Draft for Funkwhale 2025-02-12 12:41:13 +01:00
5503326ea6 Implemented helper role docker-central-database and refactored code 2025-02-04 18:14:37 +01:00
207030cb48 Solved matrix port bug 2025-02-03 23:07:42 +01:00
11752f5e2e Nginx variable refactoring and general bug solving. Got interupted commit not tested 2025-01-31 13:14:07 +01:00
4c0aba2eea HUGE REFACTORING; Implementing ldap networks, new port mappings, heal script optimizing etc. 2025-01-30 15:04:23 +01:00
077e38e6a4 Set variable global 2025-01-29 14:42:13 +01:00
7ff03ef46b Solved minor bugs which appeared during refactoring 2025-01-29 14:34:46 +01:00
aca3399e9d Big code and variable refactoring 2025-01-29 14:20:34 +01:00