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