-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
47 lines (47 loc) · 1.06 KB
/
docker-compose.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
version: '2.0'
services:
web:
image: quay.io/ffcafe/cafemaker
build:
context: .
args:
- http_proxy
- https_proxy
- all_proxy
ports:
- 8120:80
volumes:
- ./web:/vagrant
- ./docker/bin:/cafemaker/bin
links:
- mysql:cafemaker__mysql
- redis:cafemaker__redis
- elasticsearch:cafemaker__elasticsearch
networks: [ cafemaker ]
redis:
image: redis:5.0.5
volumes:
- ./data/redis:/data
networks: [ cafemaker ]
mysql:
image: mysql:5.7
volumes:
- ./data/mysql:/var/lib/mysql
environment:
MYSQL_ROOT_PASSWORD: root
networks: [ cafemaker ]
elasticsearch:
image: elasticsearch:6.8.1
volumes:
- ./data/elasticsearch:/usr/share/elasticsearch/data
- ./data/elasticsearch-plugins:/usr/share/elasticsearch/plugins
environment:
discovery.type: "single-node"
ES_JAVA_OPTS: "-Xms10G -Xmx10G"
networks: [ cafemaker ]
networks:
cafemaker:
driver: bridge
ipam:
config:
- subnet: 192.168.127.0/24