mirror of
				https://github.com/datahub-project/datahub.git
				synced 2025-11-03 20:27:50 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			52 lines
		
	
	
		
			1.7 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			52 lines
		
	
	
		
			1.7 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
version: "3"
 | 
						|
services:
 | 
						|
  wherehows-mysql:
 | 
						|
    image: "linkedin/wherehows-mysql:latest"
 | 
						|
    ports:
 | 
						|
      - 3306:3306
 | 
						|
    environment:
 | 
						|
      MYSQL_RANDOM_ROOT_PASSWORD: "yes"
 | 
						|
      MYSQL_DATABASE: ${WHZ_DB_NAME}
 | 
						|
      MYSQL_USER: ${WHZ_DB_USERNAME}
 | 
						|
      MYSQL_PASSWORD: ${WHZ_DB_PASSWORD}
 | 
						|
  wherehows-elasticsearch:
 | 
						|
    image: "linkedin/wherehows-elasticsearch:latest"
 | 
						|
    ports:
 | 
						|
      - 9200:9200
 | 
						|
      - 9300:9300
 | 
						|
    ulimits:
 | 
						|
      memlock:
 | 
						|
        soft: -1
 | 
						|
        hard: -1
 | 
						|
  wherehows-backend:
 | 
						|
    image: "linkedin/wherehows-backend:latest"
 | 
						|
    ports:
 | 
						|
      - 19001:9000
 | 
						|
    environment:
 | 
						|
      WHZ_SECRET: ${WHZ_SECRET}
 | 
						|
      WHZ_DB_USERNAME: ${WHZ_DB_USERNAME}
 | 
						|
      WHZ_DB_PASSWORD: ${WHZ_DB_PASSWORD}
 | 
						|
      WHZ_DB_URL: jdbc:mysql://wherehows-mysql:3306/${WHZ_DB_NAME}
 | 
						|
    command: dockerize -wait tcp://wherehows-mysql:3306 -timeout 120s bin/playBinary
 | 
						|
    links:
 | 
						|
      - "wherehows-mysql:wherehows-mysql"
 | 
						|
  wherehows-frontend:
 | 
						|
    image: "linkedin/wherehows-frontend:latest"
 | 
						|
    ports:
 | 
						|
      - 9001:9000
 | 
						|
    environment:
 | 
						|
      WHZ_SECRET: ${WHZ_SECRET}
 | 
						|
      WHZ_DB_USERNAME: ${WHZ_DB_USERNAME}
 | 
						|
      WHZ_DB_PASSWORD: ${WHZ_DB_PASSWORD}
 | 
						|
      WHZ_DB_URL: jdbc:mysql://wherehows-mysql:3306/${WHZ_DB_NAME}
 | 
						|
      WHZ_SEARCH_ENGINE: ${WHZ_SEARCH_ENGINE}
 | 
						|
      WHZ_ES_DATASET_URL: ${WHZ_ES_DATASET_URL}
 | 
						|
      WHZ_ES_METRIC_URL: ${WHZ_ES_METRIC_URL}
 | 
						|
      WHZ_ES_FLOW_URL: ${WHZ_ES_FLOW_URL}
 | 
						|
      WHZ_LDAP_URL: ${WHZ_LDAP_URL}
 | 
						|
      WHZ_LDAP_PRINCIPAL_DOMAIN: ${WHZ_LDAP_PRINCIPAL_DOMAIN}
 | 
						|
      WHZ_LDAP_SEARCH_BASE: ${WHZ_LDAP_SEARCH_BASE}
 | 
						|
    command: dockerize -wait tcp://wherehows-mysql:3306 -wait http://wherehows-elasticsearch:9200 -timeout 120s bin/playBinary
 | 
						|
    links:
 | 
						|
      - "wherehows-mysql:wherehows-mysql"
 | 
						|
      - "wherehows-elasticsearch:wherehows-elasticsearch" |