-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
49 lines (49 loc) · 969 Bytes
/
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
version: "2"
services:
php:
build: ./docker/php
links:
- mariadb:mariadb
- rabbit:rabbit
volumes:
- .:/var/www/marketplace-hub
nginx:
build: ./docker/nginx
ports:
- 8080:80
links:
- php:php
volumes_from:
- php
mariadb:
image: mariadb
ports:
- 3306:3306
environment:
MYSQL_ROOT_PASSWORD: root
TERM: linux
volumes:
- ./docker/volumes/mariadb:/var/lib/mysql
rabbit:
build: ./docker/rabbitmq
environment:
- RABBITMQ_PASS=marketplace-hub
ports:
- 5672:5672
- 15672:15672
elk:
image: sebp/elk:E1L1K4
ports:
- 5601:5601
environment:
TERM: linux
volumes:
- ./docker/volumes/elk/logstash:/etc/logstash/conf.d
mockServer:
image: php:5.6-cli
ports:
- 9090:80
working_dir: /var/www/marketplace-hub/
volumes_from:
- php
command: php -S 0.0.0.0:80 tests/mock/router.php