| 
									
										
										
										
											2022-06-04 23:36:18 +02:00
										 |  |  | CONTEXT={{ cookiecutter.__context_slug }} | 
					
						
							| 
									
										
										
										
											2022-06-04 04:15:59 +02:00
										 |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | # Set something sensible here and uncomment | 
					
						
							|  |  |  | # --- | 
					
						
							| 
									
										
										
										
											2022-06-04 23:36:18 +02:00
										 |  |  | {%- set components = cookiecutter.__component_list_slug.split(',') -%} | 
					
						
							| 
									
										
										
										
											2022-06-04 04:15:59 +02:00
										 |  |  | {% for component in components %} | 
					
						
							|  |  |  | # {{ component.upper() }}_VERSION=x.y.z | 
					
						
							|  |  |  | {%- endfor %} | 
					
						
							| 
									
										
										
										
											2023-06-11 22:49:45 +02:00
										 |  |  | {%- for component in components %} | 
					
						
							|  |  |  | {%- if loop.first %} | 
					
						
							|  |  |  | # {{ component.upper() }}_VIP=10.1.1.2 | 
					
						
							|  |  |  | {%- endif %} | 
					
						
							|  |  |  | {%- endfor %} | 
					
						
							| 
									
										
										
										
											2022-06-04 04:15:59 +02:00
										 |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | # A ${LOCATION} var is usually not needed. It may be helpful when a ${CONTEXT} | 
					
						
							|  |  |  | # extends over more than one location e.g. to bind-mount location-specific | 
					
						
							|  |  |  | # config files or certificates into a container. | 
					
						
							|  |  |  | # --- | 
					
						
							|  |  |  | # LOCATION= | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | # Feel free to leave defaults. They apply while these vars are commented out | 
					
						
							|  |  |  | # --- | 
					
						
							|  |  |  | # RESTARTPOLICY=unless-stopped | 
					
						
							|  |  |  | # TIMEZONE=Etc/UTC | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | # See 'docker-compose.override.yml' for how to make a variable available in | 
					
						
							|  |  |  | # a Dockerfile | 
					
						
							|  |  |  | # --- | 
					
						
							|  |  |  | # EXAMPLE_ARG_FROM_ENV_FILE=must_be_available_in_dockerfile |