mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-09-24 11:06:24 +02:00
Solved ollama network bug
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
{# This template needs to be included in docker-compose.yml containers #}
|
{# This template needs to be included in docker-compose.yml containers #}
|
||||||
networks:
|
networks:
|
||||||
|
{# Central RDMS-Database Network #}
|
||||||
{% if
|
{% if
|
||||||
(applications | get_app_conf(application_id, 'features.central_database', False) and database_type is defined) or
|
(applications | get_app_conf(application_id, 'features.central_database', False) and database_type is defined) or
|
||||||
application_id in ['svc-db-mariadb','svc-db-postgres']
|
application_id in ['svc-db-mariadb','svc-db-postgres']
|
||||||
@@ -10,10 +11,15 @@
|
|||||||
- {{ database_type }}
|
- {{ database_type }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
{# Central LDAP Network #}
|
||||||
{% if applications | get_app_conf(application_id, 'features.ldap', False) and applications | get_app_conf('svc-db-openldap', 'network.docker') %}
|
{% if applications | get_app_conf(application_id, 'features.ldap', False) and applications | get_app_conf('svc-db-openldap', 'network.docker') %}
|
||||||
{{ applications | get_app_conf('svc-db-openldap', 'docker.network') }}:
|
{{ applications | get_app_conf('svc-db-openldap', 'docker.network') }}:
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if application_id != 'svc-db-openldap' %}
|
{# Central AI Network #}
|
||||||
|
{% if applications | get_app_conf(application_id, 'features.local_ai', False) %}
|
||||||
|
{{ applications | get_app_conf('svc-ai-ollama', 'docker.network') }}:
|
||||||
|
{% endif %}
|
||||||
|
{% if not application_id.startswith('svc-db-') and not application_id.startswith('svc-ai-') %}
|
||||||
default:
|
default:
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{{ "\n" }}
|
{{ "\n" }}
|
Reference in New Issue
Block a user