comments in config, added tmp to gitignore
This commit is contained in:
		
							parent
							
								
									4a1b5e3ea5
								
							
						
					
					
						commit
						1962bd885b
					
				
					 2 changed files with 3 additions and 0 deletions
				
			
		
							
								
								
									
										1
									
								
								.gitignore
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								.gitignore
									
										
									
									
										vendored
									
									
								
							| 
						 | 
				
			
			@ -2,6 +2,7 @@
 | 
			
		|||
venv/
 | 
			
		||||
/storage/
 | 
			
		||||
scanners/ole/venv/
 | 
			
		||||
tmp/
 | 
			
		||||
# Created by https://www.toptal.com/developers/gitignore/api/linux,go,vim,visualstudiocode,macos,windows
 | 
			
		||||
# Edit at https://www.toptal.com/developers/gitignore?templates=linux,go,vim,visualstudiocode,macos,windows
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -37,12 +37,14 @@ func setDefaults() {
 | 
			
		|||
	viper.SetDefault("web.key", "/etc/ssl/key/ssl-cert-snakeoil.key")
 | 
			
		||||
	viper.SetDefault("web.loghttp", true)
 | 
			
		||||
	viper.SetDefault("web.maxfilesizemb", 100)
 | 
			
		||||
  // Database
 | 
			
		||||
	viper.SetDefault("db.host", "localhost")
 | 
			
		||||
	viper.SetDefault("db.port", 5432)
 | 
			
		||||
	viper.SetDefault("db.user", "scanfile")
 | 
			
		||||
	viper.SetDefault("db.database", "scanfile")
 | 
			
		||||
	viper.SetDefault("db.password", "CHANGEME")
 | 
			
		||||
	viper.SetDefault("db.debug", false)
 | 
			
		||||
  // Others
 | 
			
		||||
  viper.SetDefault("processing.oleurl", "http://localhost:5000")
 | 
			
		||||
	viper.SetDefault("store.path", "./storage/files/")
 | 
			
		||||
  viper.SetDefault("debug", false)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue