-
Notifications
You must be signed in to change notification settings - Fork 4
/
docker-compose.yaml
47 lines (43 loc) · 1.05 KB
/
docker-compose.yaml
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: "3.0"
services:
web:
image: nginx:latest
ports:
- "5601:80"
restart: always
volumes:
- ./nginx/conf.d/:/etc/nginx/conf.d/
- ./nginx/log/:/var/log/nginx/
- ./nginx/passwords/:/etc/nginx/passwords
- ./nginx/nginx.conf:/etc/nginx/nginx.conf
- ./nginx/proxy.conf:/etc/nginx/proxy.conf
- ../:/var/www/html
networks:
- log
elasticsearch:
image: elasticsearch
expose:
- 9200
restart: always
environment:
ES_JAVA_OPTS: "-Xms750m -Xmx750m"
volumes:
- ./elasticsearch/data:/usr/share/elasticsearch/data
networks:
- log
fluentd:
build: ./fluentd
volumes:
- ./fluentd/conf:/fluentd/etc
restart: always
networks:
- log
kibana:
image: kibana
depends_on:
- "elasticsearch"
restart: always
networks:
- log
networks:
log: