22 lines
694 B
YAML
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"
|