Initial commit
This commit is contained in:
40
api/compose.yaml
Normal file
40
api/compose.yaml
Normal file
@@ -0,0 +1,40 @@
|
||||
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'
|
||||
Reference in New Issue
Block a user