mirror of
				https://github.com/zokradonh/kopano-docker
				synced 2025-10-31 10:27:14 +00:00 
			
		
		
		
	fix yes set as timezone (#157)
* fix yes set as timezone value_default would not be empty but rather have yes as the value Signed-off-by: Felix Bartels <felix@host-consultants.de> * also add version control for ssl and kweb Signed-off-by: Felix Bartels <felix@host-consultants.de>
This commit is contained in:
		
							parent
							
								
									3a886cfbeb
								
							
						
					
					
						commit
						38d9993b68
					
				| @ -2,7 +2,7 @@ version: "3.5" | ||||
| 
 | ||||
| services: | ||||
|   web: | ||||
|     image: ${docker_repo:-zokradonh}/kopano_web | ||||
|     image: ${docker_repo:-zokradonh}/kopano_web:${KWEB_VERSION:-latest} | ||||
|     restart: unless-stopped | ||||
|     ports: | ||||
|       - "${CADDY:-2015}:2015" | ||||
| @ -178,7 +178,7 @@ services: | ||||
|       - kopano-net | ||||
|    | ||||
|   kopano_ssl: | ||||
|     image: ${docker_repo:-zokradonh}/kopano_ssl | ||||
|     image: ${docker_repo:-zokradonh}/kopano_ssl:${SSL_VERSION:-latest} | ||||
|     environment: | ||||
|       - FQDN=${FQDN} | ||||
|       - PKI_COUNTRY=NL | ||||
|  | ||||
							
								
								
									
										6
									
								
								setup.sh
									
									
									
									
									
								
							
							
						
						
									
										6
									
								
								setup.sh
									
									
									
									
									
								
							| @ -184,10 +184,8 @@ if [ ! -e ./.env ]; then | ||||
| 		value_default=$(cat /etc/timezone) | ||||
| 	elif [ -f /etc/localtime ]; then | ||||
| 		value_default=$(readlink /etc/localtime|sed -n 's|^.*zoneinfo/||p') | ||||
| 	fi | ||||
| 
 | ||||
| 	if [ -z "${value_default}" ]; then | ||||
| 		value_default="Europe/Berlin". | ||||
| 	else | ||||
| 		value_default="Europe/Berlin" | ||||
| 	fi | ||||
| 
 | ||||
| 	read -r -p "Timezone to be used [$value_default]: " new_value | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user