-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
38 lines (37 loc) · 1.01 KB
/
docker-compose.yml
File metadata and controls
38 lines (37 loc) · 1.01 KB
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
version: '3'
services:
nginx:
build: ./nginx
command: nginx -g "daemon off;"
container_name: matrix_nginx
volumes:
- ./logs/:/var/log/nginx/site_logs/
- ../:/var/www/matrix-log
ports:
- "80:80"
links:
- matrix_php_lumen
matrix_php_cli:
build: ./php-cli
container_name: matrix_php_cli
volumes:
- ../:/var/www/matrix-log
environment:
XDEBUG_CONFIG: "remote_host=172.17.0.1"
PHP_IDE_CONFIG: "serverName=localhost"
matrix_php_lumen:
build: ./php-lumen
container_name: matrix_php_lumen
volumes:
- ../:/var/www/matrix-log
command: php-fpm
ports:
- "9000:9000"
matrix_mongodb:
build: ./mongodb
container_name: matrix_mongodb
restart: always
volumes:
- ./mongodb/data:/data/db:Z
ports:
- "27017:27017"