mirror of
				https://github.com/casjaysdevdocker/traefik
				synced 2025-11-03 19:02:05 -05:00 
			
		
		
		
	🦈🏠🐜❗ Initial Commit ❗🐜🦈🏠
This commit is contained in:
		
							
								
								
									
										9
									
								
								bin/docker-entrypoint.sh
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										9
									
								
								bin/docker-entrypoint.sh
									
									
									
									
									
										Executable file
									
								
							@@ -0,0 +1,9 @@
 | 
			
		||||
#!/usr/bin/env bash
 | 
			
		||||
 | 
			
		||||
export TZ="${TZ:-America/New_York}"
 | 
			
		||||
export HOSTNAME="${HOSTNAME:-casjaysdev-traefix}"
 | 
			
		||||
 | 
			
		||||
[ -n "${TZ}" ] && echo "${TZ}" >/etc/timezone
 | 
			
		||||
[ -n "${HOSTNAME}" ] && echo "${HOSTNAME}" >/etc/hostname
 | 
			
		||||
[ -n "${HOSTNAME}" ] && echo "127.0.0.1 $HOSTNAME localhost" >/etc/hosts
 | 
			
		||||
[ -f "/usr/share/zoneinfo/${TZ}" ] && ln -sf "/usr/share/zoneinfo/${TZ}" "/etc/localtime"
 | 
			
		||||
		Reference in New Issue
	
	Block a user