Move vars to defaults
This commit is contained in:
		
							parent
							
								
									70578f2a13
								
							
						
					
					
						commit
						bf08ae8f81
					
				
					 40 changed files with 0 additions and 0 deletions
				
			
		
							
								
								
									
										34
									
								
								playbooks/roles/minio/defaults/main.yml
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										34
									
								
								playbooks/roles/minio/defaults/main.yml
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,34 @@ | |||
| --- | ||||
| minio_svc: | ||||
|   domain: "{{ all_services | service_get_domain(role_name) }}" | ||||
|   port: 9000 | ||||
|   caddy_extra: | | ||||
|     @nocache { | ||||
|        query nocache=* | ||||
|     } | ||||
|     header @nocache "Cache-Control" "no-store, no-cache" | ||||
|   extra_svcs: | ||||
|     - domain: console.s3.serguzim.me | ||||
|       docker_host: minio | ||||
|       port: 9001 | ||||
| 
 | ||||
| minio_env: | ||||
|   MINIO_SERVER_URL: https://{{ svc.domain }}/ | ||||
|   MINIO_BROWSER_REDIRECT_URL: https://console.{{ svc.domain }} | ||||
|   MINIO_VOLUMES: /data | ||||
| 
 | ||||
|   MINIO_ROOT_USER: "{{ vault_minio.user }}" | ||||
|   MINIO_ROOT_PASSWORD: "{{ vault_minio.pass }}" | ||||
| 
 | ||||
| 
 | ||||
| minio_compose: | ||||
|   watchtower: update | ||||
|   image: minio/minio | ||||
|   volumes: | ||||
|     - data:/data | ||||
|   file: | ||||
|     services: | ||||
|       app: | ||||
|         command: server --console-address ":9001" | ||||
|     volumes: | ||||
|       data: | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue