-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose-dev.yml
56 lines (51 loc) · 1.33 KB
/
docker-compose-dev.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
version: "3.8"
services:
# auction_api_backend:
# container_name: auction_api_dev
# image: "mcr.microsoft.com/dotnet/sdk:5.0"
# volumes:
# - ./:/app
# command: dotnet watch --project ./Api run --urls "http://0.0.0.0:80"
# ports:
# - "8081:80"
auction_api_postgres:
container_name: auction_bd_dev
image: postgres
ports:
- "5433:5432"
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: auction
elasticsearch:
container_name: auction_elasticsearch_dev
image: docker.elastic.co/elasticsearch/elasticsearch:7.13.1
environment:
- node.name=auction-api-es
- cluster.name=es-docker-cluster
- discovery.type=single-node
- bootstrap.memory_lock=true
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
ulimits:
memlock:
soft: -1
hard: -1
volumes:
- es-data:/usr/share/elasticsearch/data
ports:
- "9200:9200"
depends_on:
- auction_api_postgres
kibana:
container_name: auction_kibana_dev
image: docker.elastic.co/kibana/kibana:7.13.1
ports:
- "5601:5601"
depends_on:
- elasticsearch
environment:
ELASTICSEARCH_URL: http://elasticsearch:9200
ELASTICSEARCH_HOSTS: http://elasticsearch:9200
volumes:
es-data:
driver: local