mirror of
				https://github.com/kevinveenbirkenbach/computer-playbook.git
				synced 2025-10-31 10:19:09 +00:00 
			
		
		
		
	Optimized Listmonk variables
This commit is contained in:
		| @@ -3,8 +3,9 @@ | ||||
|   include_role:  | ||||
|     name: sys-stk-full-stateful | ||||
|   vars: | ||||
|     docker_compose_flush_handlers: false | ||||
|     proxy_extra_configuration: >- | ||||
|       {% if not applications | get_app_conf(application_id, 'public_api_activated', True) %} | ||||
|       {% if not LISTMONK_PUBLIC_API_ENABLED | bool %} | ||||
|       {{ lookup('file', '{{ playbook_dir }}/roles/web-app-listmonk/files/deactivate-public-api.conf') }} | ||||
|       {% else %} | ||||
|       "" | ||||
|   | ||||
| @@ -1,16 +1,14 @@ | ||||
| # General  | ||||
| application_id: "web-app-listmonk" | ||||
| database_type:  "postgres" | ||||
|  | ||||
| container_port:   "{{ applications | get_app_conf(application_id, 'docker.services.listmonk.port') }}" | ||||
|  | ||||
| # Docker | ||||
| docker_compose_flush_handlers: false | ||||
| application_id:               "web-app-listmonk" | ||||
| database_type:                "postgres" | ||||
| container_port:               "{{ applications | get_app_conf(application_id, 'docker.services.listmonk.port') }}" | ||||
|  | ||||
| # Listmonk | ||||
| LISTMONK_VERSION: "{{ applications | get_app_conf(application_id, 'docker.services.listmonk.version') }}" | ||||
| LISTMONK_IMAGE:   "{{ applications | get_app_conf(application_id, 'docker.services.listmonk.image') }}" | ||||
| LISTMONK_NAME:    "{{ applications | get_app_conf(application_id, 'docker.services.listmonk.name') }}" | ||||
| LISTMONK_VERSION:             "{{ applications | get_app_conf(application_id, 'docker.services.listmonk.version') }}" | ||||
| LISTMONK_IMAGE:               "{{ applications | get_app_conf(application_id, 'docker.services.listmonk.image') }}" | ||||
| LISTMONK_NAME:                "{{ applications | get_app_conf(application_id, 'docker.services.listmonk.name') }}" | ||||
|  | ||||
| LISTMONK_PUBLIC_API_ENABLED:  "{{ applications | get_app_conf(application_id, 'public_api_activated') }}" | ||||
|  | ||||
| LISTMONK_SETTINGS: | ||||
|   - key: "app.root_url" | ||||
|   | ||||
		Reference in New Issue
	
	Block a user