mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-11-09 22:56:29 +00:00
Add new web-app-mini-qr role
- Introduced new role 'web-app-mini-qr' to deploy the lightweight, self-hosted Mini-QR application. - Added dedicated subnet and localhost port mapping (8059) in group_vars. - Ensured proper dependency structure and run_once handling in MIG role. - Included upstream reference and CSP whitelist for temporary clarity.ms removal tracking. - Added README.md and meta information following the Infinito.Nexus web-app schema. See: https://chatgpt.com/share/68f890ab-5960-800f-85f8-ba30bd4350fe
This commit is contained in:
12
roles/web-app-mini-qr/templates/docker-compose.yml.j2
Normal file
12
roles/web-app-mini-qr/templates/docker-compose.yml.j2
Normal file
@@ -0,0 +1,12 @@
|
||||
---
|
||||
{% include 'roles/docker-compose/templates/base.yml.j2' %}
|
||||
{% set container_port = 8080 %}
|
||||
{{ application_id | get_entity_name }}:
|
||||
{% include 'roles/docker-container/templates/base.yml.j2' %}
|
||||
image: "{{ MINI_QR_IMAGE }}:{{ MINI_QR_VERSION }}"
|
||||
container_name: "{{ MINI_QR_CONTAINER }}"
|
||||
ports:
|
||||
- 127.0.0.1:{{ ports.localhost.http[application_id] }}:{{ container_port }}
|
||||
{% include 'roles/docker-container/templates/networks.yml.j2' %}
|
||||
|
||||
{% include 'roles/docker-compose/templates/networks.yml.j2' %}
|
||||
Reference in New Issue
Block a user