mirror of
				https://github.com/datahub-project/datahub.git
				synced 2025-10-31 02:37:05 +00:00 
			
		
		
		
	 ecc01b9a46
			
		
	
	
		ecc01b9a46
		
			
		
	
	
	
	
		
			
			* fix(security): commons-text in frontend * refactor(restli): set threads based on cpu cores feat(mce-consumers): hit local restli endpoint * testing docker build * Add retry configuration options for entity client * Kafka debugging * fix(kafka-setup): parallelize topic creation * Adjust docker build * Docker build updates * WIP * fix(lint): metadata-ingestion lint * fix(gradle-docker): fix docker frontend dep * fix(elastic): fix race condition between gms and mae for index creation * Revert "fix(elastic): fix race condition between gms and mae for index creation" This reverts commit 9629d12c3bdb3c0dab87604d409ca4c642c9c6d3. * fix(test): fix datahub frontend test for clean/test cycle * fix(test): datahub-frontend missing assets in test * fix(security): set protobuf lib datahub-upgrade & mce/mae-consumer * gitingore update * fix(docker): remove platform on docker base image, set by buildx * refactor(kafka-producer): update kafka producer tracking/logging * updates per PR feedback * Add documentation around mce standalone consumer Kafka consumer concurrency to follow thread count for restli & sql connection pool Co-authored-by: leifker <dleifker@gmail.com> Co-authored-by: Pedro Silva <pedro@acryl.io>
		
			
				
	
	
		
			13 lines
		
	
	
		
			475 B
		
	
	
	
		
			Docker
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			475 B
		
	
	
	
		
			Docker
		
	
	
	
	
	
| FROM alpine:3
 | |
| 
 | |
| ENV DOCKERIZE_VERSION v0.6.1
 | |
| RUN apk add --no-cache mysql-client curl tar bash \
 | |
|     && curl -sSL https://github.com/jwilder/dockerize/releases/download/$DOCKERIZE_VERSION/dockerize-linux-amd64-$DOCKERIZE_VERSION.tar.gz | tar -C /usr/local/bin -xzv
 | |
| 
 | |
| COPY docker/mysql-setup/init.sql /init.sql
 | |
| COPY docker/mysql-setup/init.sh /init.sh
 | |
| RUN chmod 755 init.sh
 | |
| 
 | |
| ENV DATAHUB_DB_NAME="datahub"
 | |
| 
 | |
| CMD dockerize -wait tcp://$MYSQL_HOST:$MYSQL_PORT -timeout 240s /init.sh |