forked from asc-lab/dotnetcore-microservices-poc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
infra.yml
43 lines (39 loc) · 888 Bytes
/
infra.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
version: '3'
services:
eureka:
build: ../eureka-server
image: eureka-server
container_name: eureka-server
ports:
- 8761:8761
postgres:
build: ../postgres
image: postgres
container_name: postgres
volumes:
- /tmp/data/postgresql:/var/lib/postgresql/data
ports:
- 5432:5432
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:6.4.2
container_name: elasticsearch
environment:
- cluster.name=docker-cluster
- bootstrap.memory_lock=true
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
ulimits:
memlock:
soft: -1
hard: -1
ports:
- 9200:9200
rabbitmq:
image: rabbitmq:3-management
container_name: rabbit
ports:
- 15672:15672
- 5672:5672
labels:
NAME: rabbitmq
volumes:
- ./rabbitmq-isolated.conf:/etc/rabbitmq/rabbitmq.config