mirror of https://github.com/flarum/flarum
				
				
				
			Configure filesystem disk for avatars.
							parent
							
								
									ccc73498b1
								
							
						
					
					
						commit
						8ee8a0a9b9
					
				| 
						 | 
				
			
			@ -43,26 +43,9 @@ return [
 | 
			
		|||
 | 
			
		||||
	'disks' => [
 | 
			
		||||
 | 
			
		||||
		'local' => [
 | 
			
		||||
		'avatars' => [
 | 
			
		||||
			'driver' => 'local',
 | 
			
		||||
			'root'   => storage_path().'/app',
 | 
			
		||||
		],
 | 
			
		||||
 | 
			
		||||
		's3' => [
 | 
			
		||||
			'driver' => 's3',
 | 
			
		||||
			'key'    => 'your-key',
 | 
			
		||||
			'secret' => 'your-secret',
 | 
			
		||||
			'region' => 'your-region',
 | 
			
		||||
			'bucket' => 'your-bucket',
 | 
			
		||||
		],
 | 
			
		||||
 | 
			
		||||
		'rackspace' => [
 | 
			
		||||
			'driver'    => 'rackspace',
 | 
			
		||||
			'username'  => 'your-username',
 | 
			
		||||
			'key'       => 'your-key',
 | 
			
		||||
			'container' => 'your-container',
 | 
			
		||||
			'endpoint'  => 'https://identity.api.rackspacecloud.com/v2.0/',
 | 
			
		||||
			'region'    => 'IAD',
 | 
			
		||||
			'root'   => public_path('avatars')
 | 
			
		||||
		],
 | 
			
		||||
 | 
			
		||||
	],
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue