| 
									
										
										
										
											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 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-06-11 23:19:49 +02:00
										 |  |  | # Subnet to use for this Docker Compose project. Docker defaults to | 
					
						
							|  |  |  | # container networks in prefix 172.16.0.0/12 which is 1 million addresses in | 
					
						
							|  |  |  | # the range from 172.16.0.0 to 172.31.255.255. Docker uses 172.17.0.0/16 for | 
					
						
							|  |  |  | # itself. Use any sensible prefix in 172.16.0.0/12 here except for Docker's | 
					
						
							|  |  |  | # own 172.17.0.0/16. | 
					
						
							|  |  |  | # --- | 
					
						
							|  |  |  | SUBNET=172.30.95.0/24 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-06-04 04:15:59 +02:00
										 |  |  | # 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 |