old_console/correlator/cicd/docker-compose.yml
2024-11-02 14:12:45 +03:00

22 lines
694 B
YAML

version: "3.7"
services:
elasticsearch:
container_name: elasticsearch
image: registry.iwarma.ru/iwa/dev/console-docker/console-elasticsearch:latest
ports:
- "9200:9200"
# - "9300:9300"
environment:
ES_JAVA_OPTS: "-Xmx4g -Xms4g"
ELASTIC_PASSWORD: changeme
# Use single node discovery in order to disable production mode and avoid bootstrap checks
# see https://www.elastic.co/guide/en/elasticsearch/reference/current/bootstrap-checks.html
discovery.type: single-node
golang:
#image: golang:gitlab
build:
context: .
volumes:
- "../:/src:rw"
command: bash -c "cd /src && /bin/bash cicd/test_job.sh"