-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
72 lines (64 loc) · 1.54 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
version: '2'
services:
data:
image: cogniteev/echo
# This is the path to your project files (..), will map to /var/app in the container
volumes:
- ..:/var/app
php-cli:
image: arkanmgerges/php-cli:1.0
php-ssh:
image: arkanmgerges/php-ssh:1.0
ports:
- "1122:22"
volumes_from:
- data
php-fpm:
image: arkanmgerges/php-fpm:1.0
working_dir: /var/app
volumes_from:
- data
# This is where you can collect xdebug profiling data (set your path), this will map to the /tmp in the container
volumes:
- ../.tmp:/tmp
networks:
- net01
web-nginx:
image: nginx:latest
depends_on:
- php-fpm
ports:
- "8080:80"
volumes_from:
- data
volumes:
- ./config/nginx/site.conf:/etc/nginx/conf.d/site.conf
networks:
- net01
redis:
container_name: redis01
image: redis:3.0.7
ports:
- "6379:6379"
elasticsearch01:
container_name: es01
image: elasticsearch:5.0.1
ports:
- "9200:9200"
- "9300:9300"
networks:
- net02
kibana:
image: kibana:5.0.1
networks:
- net02
ports:
- "5601:5601"
environment:
# Here you need to provide your elastic search url
ELASTICSEARCH_URL: http://192.168.99.100:9200
networks:
net01:
driver: bridge
net02:
driver: bridge