Research Article

A Microservice-Based Big Data Analysis Platform for Online Educational Applications

Algorithm 2

gpdb-docker-compose-example.yml.
version: ‘3'
services:
 pgadmin4:
  image: pgadmin4
hostname: “pgadmin4”
  environment:
   -PGADMIN_DEFAULT_e-Mail = [email protected]
   -PGADMIN_DEFAULT_PASSWORD = SecretPassword
  ports:
   -“80 : 80”
  volumes:
   -.. : /code
  tty: true
  privileged: true
 networks:
  mynetwork:
  aliases:
   -pgadmin4
 gpdb5:
  image: “gpdb5oss”
  command: bin/bash-c “startGPDB.sh && bin/bash”
  hostname: “gpdbsne”
  container_name: gpdbsne
  ports:
   -“5432 : 5432”
   -“5005 : 5005”
   -“5010 : 5010”
  expose:
   -“5432”
  volumes:
   -..:/code
  privileged: true
  tty: true
  networks:
  mynetwork:
  aliases:
   -gpdbsne
   -gpdbsne.localdomain.com
 networks:
  mynetwork:
  driver: bridge