mirror of
https://github.com/mother-of-all-self-hosting/mash-playbook
synced 2024-11-10 14:24:25 +00:00
Define required services per service
This commit is contained in:
parent
b33515c815
commit
e2bf29cb8e
1 changed files with 7 additions and 3 deletions
|
@ -710,13 +710,17 @@ 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: |
|
||||
funkwhale_api_systemd_required_services_list_auto: |
|
||||
{{
|
||||
(['docker.service'])
|
||||
+
|
||||
([devture_postgres_identifier ~ '.service'] if devture_postgres_enabled and funkwhale_database_hostname == devture_postgres_identifier else [])
|
||||
}}
|
||||
|
||||
funkwhale_frontend_systemd_required_services_list_auto: |
|
||||
{{
|
||||
([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 [])
|
||||
|
|
Loading…
Reference in a new issue