-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
51 lines (46 loc) · 1.01 KB
/
docker-compose.yml
File metadata and controls
51 lines (46 loc) · 1.01 KB
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
version: '2'
services:
myapp:
stdin_open: true
image: 'aoktox/javaplay-dev:latest'
labels:
kompose.service.type: nodeport
ports:
- '8888:8888'
- '9000:9000'
volumes:
- .:/app
db:
image: mysql
environment:
MYSQL_ROOT_PASSWORD: inipassword
volumes:
- ./mysql-datastore:/var/lib/mysql
adminer:
image: adminer
ports:
- 8080:8080
redis:
image: 'bitnami/redis:latest'
ports:
- '6379:6379'
environment:
- REDIS_PASSWORD=inipassword
volumes:
- ./redis-datastore:/bitnami
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:5.5.2
container_name: elasticsearch
environment:
- cluster.name=docker-cluster
- bootstrap.memory_lock=true
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
ulimits:
memlock:
soft: -1
hard: -1
mem_limit: 1g
volumes:
- ./elasticsearch-datastore:/usr/share/elasticsearch/data
ports:
- 9200:9200