version: "3.9" services: client: build: . volumes: - "./..:/spark-connector" stdin_open: true vertica: image: "verticadocker/vertica-k8s" entrypoint: [ "bash", "-c", "/opt/vertica/bin/admintools -t create_db --database=docker --password='' --hosts=localhost && sudo /usr/sbin/sshd -D"] ports: - "5433:5433" volumes: - ./vertica-hdfs-config/hadoop:/etc/hadoop/conf hdfs: image: "mdouchement/hdfs" ports: - "22022:22" - "8020:8020" - "50010:50010" - "50020:50020" - "50070:50070" - "50075:50075" stdin_open: true volumes: - "./vertica-hdfs-config/hadoop:/hadoop/conf"