version: '3.3' volumes: db: external: false services: es: env_file: .env image: blacktop/elasticsearch:7.7 command: ["elasticsearch", "-Elogger.level=ERROR"] volumes: - infradb:/opt environment: - node.name=es01 - cluster.name=es-docker-cluster - bootstrap.memory_lock=true - "ES_JAVA_OPTS=-Xms512m -Xmx512m" ulimits: memlock: soft: -1 hard: -1 volumes: - db:/usr/share/elasticsearch/data app: env_file: .env build: ../../ image: albancrommer/changelog-server:latest ports: - "3000:3000" depends_on: - es command: ["./system/wait-for", "-t", "5", "es:9200", "--", "node", "index.js"] read_only: true