-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
27 lines (25 loc) · 1.28 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
version: '3.2'
services:
#================================================================================================
# WORKSPACE PHP-FPM
#================================================================================================
workspace-phpfpm:
restart: always
build:
context: .
ports:
- "8115:80"
- "8116:9090"
volumes:
- /etc/localtime:/etc/localtime:ro
- ./config/php/php-fpm.conf:/usr/local/etc/php-fpm.conf # config path
- ./config/php/php.ini:/usr/local/etc/php/php.ini # ini path
- ./config/php/laradock-php-ext-xdebug.ini:/usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini # xdebug config
- ./log/phpfpm:/var/log/phpfpm # log phpfpm
- ./vendor/composer.phar:/usr/local/bin/composer # vendor composer
- ./vendor/deployer.phar:/usr/local/bin/dep # vendor deployer
- ./vendor/php-cs-fixer:/usr/local/bin/php-cs-fixer # vendor php-cs-fixer
- ./data/laradock:/var/www/html # volume for data
environment:
- NODE_VERSION=10.0.0
- YARN_VERSION=1.6.0