mirror of
				https://github.com/zokradonh/kopano-docker
				synced 2025-10-31 02:17:47 +00:00 
			
		
		
		
	smaller cleanups
Signed-off-by: Felix Bartels <felix@host-consultants.de>
This commit is contained in:
		
							parent
							
								
									1785ccf7a3
								
							
						
					
					
						commit
						faeaf75183
					
				
							
								
								
									
										7
									
								
								setup.sh
									
									
									
									
									
								
							
							
						
						
									
										7
									
								
								setup.sh
									
									
									
									
									
								
							| @ -56,7 +56,7 @@ if [ ! -e ./.env ]; then | |||||||
| 		read -p "LDAP search base [$value_default]: " new_value | 		read -p "LDAP search base [$value_default]: " new_value | ||||||
| 		LDAP_SEARCH_BASE=${new_value:-$value_default} | 		LDAP_SEARCH_BASE=${new_value:-$value_default} | ||||||
| 
 | 
 | ||||||
| 		value_default="CN=readonly,$LDAP_BASE_DN" | 		value_default="cn=readonly,$LDAP_BASE_DN" | ||||||
| 		read -p "LDAP bind user (needs read permissions) [$value_default]: " new_value | 		read -p "LDAP bind user (needs read permissions) [$value_default]: " new_value | ||||||
| 		LDAP_BIND_DN=${new_value:-$value_default} | 		LDAP_BIND_DN=${new_value:-$value_default} | ||||||
| 
 | 
 | ||||||
| @ -68,7 +68,7 @@ if [ ! -e ./.env ]; then | |||||||
| 	else | 	else | ||||||
| 		LDAP_ADMIN_PASSWORD=$(random_string) | 		LDAP_ADMIN_PASSWORD=$(random_string) | ||||||
| 		LDAP_SEARCH_BASE="$LDAP_BASE_DN" | 		LDAP_SEARCH_BASE="$LDAP_BASE_DN" | ||||||
| 		LDAP_BIND_DN="CN=readonly,$LDAP_BASE_DN" | 		LDAP_BIND_DN="cn=readonly,$LDAP_BASE_DN" | ||||||
| 		LDAP_BIND_PW=$(random_string) | 		LDAP_BIND_PW=$(random_string) | ||||||
| 	fi | 	fi | ||||||
| 
 | 
 | ||||||
| @ -178,6 +178,3 @@ else | |||||||
| 	echo "config already exists, doing nothing" | 	echo "config already exists, doing nothing" | ||||||
| 	echo "if you want to change the configuration, please edit .env directly" | 	echo "if you want to change the configuration, please edit .env directly" | ||||||
| fi | fi | ||||||
| 
 |  | ||||||
| # build the local docker containers. This has the benefit that it will warn about empty variables |  | ||||||
| #docker-compose build |  | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user