mirror of
				https://github.com/kevinveenbirkenbach/computer-playbook.git
				synced 2025-11-04 12:18:17 +00:00 
			
		
		
		
	Refactored docker-compose roles
This commit is contained in:
		@@ -1,7 +0,0 @@
 | 
			
		||||
{# This template needs to be included in docker-compose.yml containers which depend on a database and additional containers #}
 | 
			
		||||
    depends_on:
 | 
			
		||||
{% if not applications | is_feature_enabled('central_database',application_id) %}
 | 
			
		||||
      database:
 | 
			
		||||
        condition: service_healthy
 | 
			
		||||
{% endif %}
 | 
			
		||||
{{ "\n" }}
 | 
			
		||||
@@ -1,9 +0,0 @@
 | 
			
		||||
{# This template needs to be included in docker-compose.yml containers, which depend on a database, redis and optional additional volumes #}
 | 
			
		||||
    depends_on:
 | 
			
		||||
{% if not applications | is_feature_enabled('central_database',application_id) %}
 | 
			
		||||
      database:
 | 
			
		||||
        condition: service_healthy
 | 
			
		||||
{% endif %}
 | 
			
		||||
      redis:
 | 
			
		||||
        condition: service_healthy
 | 
			
		||||
{{ "\n" }}
 | 
			
		||||
@@ -1,7 +0,0 @@
 | 
			
		||||
{# This template needs to be included in docker-compose.yml containers, which just depend on a database #}
 | 
			
		||||
{% if not applications | is_feature_enabled('central_database',application_id) %}
 | 
			
		||||
    depends_on:
 | 
			
		||||
      database:
 | 
			
		||||
        condition: service_healthy
 | 
			
		||||
{% endif %}
 | 
			
		||||
{{ "\n" }}
 | 
			
		||||
		Reference in New Issue
	
	Block a user