-
Notifications
You must be signed in to change notification settings - Fork 114
/
docker-compose.yml
87 lines (81 loc) · 1.74 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
version: '2'
services:
postgres:
image: postgres:9.6
volumes:
- ${PWD}/postgresql:/var/lib/postgresql/data
restart: always
## linux
networks:
fabmanager:
ipv4_address: 172.18.0.2
## osx
#ports:
# - "5432:5432"
environment:
POSTGRES_HOST_AUTH_METHOD: trust
elasticsearch:
image: elasticsearch:5.6
environment:
- "ES_JAVA_OPTS=-Xms512m -Xmx512m -Dlog4j2.formatMsgNoLookups=true"
ulimits:
memlock:
soft: -1
hard: -1
volumes:
- ${PWD}/elasticsearch/config:/usr/share/elasticsearch/config
- ${PWD}/elasticsearch:/usr/share/elasticsearch/data
- ${PWD}/elasticsearch/plugins:/usr/share/elasticsearch/plugins
- ${PWD}/elasticsearch/backups:/usr/share/elasticsearch/backups
restart: always
## linux
networks:
fabmanager:
ipv4_address: 172.18.0.3
## osx
#ports:
# - "9200:9200"
# - "9300:9300"
kibana:
image: kibana:5.6
environment:
ELASTICSEARCH_HOSTS: http://fabmanager-elastic:9200
restart: always
## linux
networks:
fabmanager:
ipv4_address: 172.18.0.5
## osx
#ports:
# - "5601:5601"
redis:
image: redis:6-alpine
volumes:
- ${PWD}/redis:/data
restart: always
## linux
networks:
fabmanager:
ipv4_address: 172.18.0.4
## osx
#ports:
# - "6379:6379"
mailcatcher:
image: sj26/mailcatcher
restart: always
## linux
networks:
fabmanager:
ipv4_address: 172.18.0.6
## osx
#ports:
# - "1080:1080"
# - "1025:1025"
## linux
networks:
fabmanager:
driver: bridge
ipam:
config:
- subnet: 172.18.0.0/16
gateway: 172.18.0.1