Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- version: '3'
- services:
- php7:
- image: netpaygroup/centos7
- volumes:
- - c:/wamp/www/:/var/www/mount/:cached
- - ./nginx.conf:/etc/nginx/nginx.conf:cached
- - ./fastcgi_params:/etc/nginx/fastcgi_params:cached
- - ./www.conf:/etc/php-fpm.d/www.conf:cached
- - ./php.ini:/etc/php.ini:cached
- - ./main.cf:/etc/postfix/main.cf:cached
- - ./xdebug.ini:/etc/php.d/xdebug.ini:cached
- environment:
- - APP_ENV=docker
- - XDEBUG_CONFIG=idekey=PHPSTORM
- - PHP_IDE_CONFIG=serverName=server.api
- ports:
- - 80:80
- #command: bash -c "php-fpm && nginx -g 'daemon off;'"
- command: bash -c "nginx && php-fpm -F"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement