Add group vars
This commit is contained in:
parent
171989871f
commit
8838303715
1 changed files with 60 additions and 0 deletions
|
@ -690,6 +690,66 @@ focalboard_container_labels_traefik_tls_certResolver: "{{ devture_traefik_certRe
|
|||
|
||||
|
||||
|
||||
########################################################################
|
||||
# #
|
||||
# funkwhale #
|
||||
# #
|
||||
########################################################################
|
||||
|
||||
funkwhale_enabled: false
|
||||
|
||||
funkwhale_identifier: "{{ mash_playbook_service_identifier_prefix }}funkwhale"
|
||||
|
||||
funkwhale_base_path: "{{ mash_playbook_base_path }}/{{ mash_playbook_service_base_directory_name_prefix }}funkwhale"
|
||||
|
||||
funkwhale_uid: "{{ mash_playbook_uid }}"
|
||||
funkwhale_gid: "{{ mash_playbook_gid }}"
|
||||
|
||||
funkwhale_database_hostname: "{{ devture_postgres_identifier if devture_postgres_enabled else '' }}"
|
||||
funkwhale_database_port: "{{ '5432' if devture_postgres_enabled else '' }}"
|
||||
funkwhale_database_password: "{{ '%s' | format(mash_playbook_generic_secret_key) | password_hash('sha512', 'db.funkwhale', rounds=655555) | to_uuid }}"
|
||||
funkwhale_database_username: "{{ funkwhale_identifier }}"
|
||||
|
||||
funkwhale_systemd_required_services_list: |
|
||||
{{
|
||||
(['docker.service'])
|
||||
+
|
||||
([devture_postgres_identifier ~ '.service'] if devture_postgres_enabled and funkwhale_database_hostname == devture_postgres_identifier else [])
|
||||
}}
|
||||
|
||||
funkwhale_api_container_additional_networks_auto: |
|
||||
{{
|
||||
([mash_playbook_reverse_proxyable_services_additional_network] if mash_playbook_reverse_proxyable_services_additional_network else [])
|
||||
+
|
||||
([devture_postgres_container_network] if devture_postgres_enabled and funkwhale_database_hostname == devture_postgres_identifier and funkwhale_api_container_network != devture_postgres_container_network else [])
|
||||
}}
|
||||
|
||||
funkwhale_frontend_container_additional_networks_auto: |
|
||||
{{
|
||||
([devture_postgres_container_network] if devture_postgres_enabled and funkwhale_database_hostname == devture_postgres_identifier and funkwhale_frontend_container_network != devture_postgres_container_network else [])
|
||||
+
|
||||
([mash_playbook_reverse_proxyable_services_additional_network] if mash_playbook_reverse_proxyable_services_additional_network else [])
|
||||
}}
|
||||
|
||||
funkwhale_api_container_labels_traefik_enabled: "{{ mash_playbook_traefik_labels_enabled }}"
|
||||
funkwhale_api_container_labels_traefik_docker_network: "{{ mash_playbook_reverse_proxyable_services_additional_network }}"
|
||||
funkwhale_api_container_labels_traefik_entrypoints: "{{ devture_traefik_entrypoint_primary }}"
|
||||
funkwhale_api_container_labels_traefik_tls_certResolver: "{{ devture_traefik_certResolver_primary }}"
|
||||
|
||||
funkwhale_frontend_container_labels_traefik_enabled: "{{ mash_playbook_traefik_labels_enabled }}"
|
||||
funkwhale_frontend_container_labels_traefik_docker_network: "{{ mash_playbook_reverse_proxyable_services_additional_network }}"
|
||||
funkwhale_frontend_container_labels_traefik_entrypoints: "{{ devture_traefik_entrypoint_primary }}"
|
||||
funkwhale_frontend_container_labels_traefik_tls_certResolver: "{{ devture_traefik_certResolver_primary }}"
|
||||
|
||||
|
||||
########################################################################
|
||||
# #
|
||||
# /funkwhale #
|
||||
# #
|
||||
########################################################################
|
||||
|
||||
|
||||
|
||||
########################################################################
|
||||
# #
|
||||
# gitea #
|
||||
|
|
Loading…
Add table
Reference in a new issue