41 lines
944 B
YAML
41 lines
944 B
YAML
services:
|
|
boardmate-api:
|
|
build: .
|
|
container_name: boardmate-api
|
|
ports:
|
|
- "8000:8000"
|
|
depends_on:
|
|
- mongodb
|
|
- elasticsearch
|
|
|
|
elasticsearch:
|
|
image: 'docker.elastic.co/elasticsearch/elasticsearch:7.17.10'
|
|
environment:
|
|
- 'ELASTIC_PASSWORD=secret'
|
|
- 'discovery.type=single-node'
|
|
- 'xpack.security.enabled=false'
|
|
ports:
|
|
- '8100:9200'
|
|
- '8101:9300'
|
|
grafana-lgtm:
|
|
image: 'grafana/otel-lgtm:latest'
|
|
ports:
|
|
- '8200:3000'
|
|
- '8201:4317'
|
|
- '8202:4318'
|
|
prometheus:
|
|
image: 'prom/prometheus:latest'
|
|
container_name: prometheus
|
|
ports:
|
|
- "8300:9090"
|
|
volumes:
|
|
- ./prometheus.yaml:/etc/prometheus/prometheus.yml
|
|
mongodb:
|
|
image: 'mongo:latest'
|
|
environment:
|
|
- 'MONGO_INITDB_DATABASE=mydatabase'
|
|
- 'MONGO_INITDB_ROOT_PASSWORD=secret'
|
|
- 'MONGO_INITDB_ROOT_USERNAME=root'
|
|
ports:
|
|
- '8400:27017'
|