Some checks failed
Vulhub Format Check and Lint / format-check (push) Has been cancelled
Vulhub Format Check and Lint / markdown-check (push) Has been cancelled
Vulhub Docker Image CI / longtime-images-test (push) Has been cancelled
Vulhub Docker Image CI / images-test (push) Has been cancelled
18 lines
406 B
YAML
18 lines
406 B
YAML
services:
|
|
nginx:
|
|
image: nginx:1
|
|
volumes:
|
|
- ./www:/usr/share/nginx/html
|
|
- ./nginx/default.conf:/etc/nginx/conf.d/default.conf
|
|
depends_on:
|
|
- php
|
|
ports:
|
|
- "80:80"
|
|
- "443:443"
|
|
php:
|
|
image: php:7.1-fpm
|
|
command: /bin/sh /var/www/start.sh
|
|
volumes:
|
|
- ./start.sh:/var/www/start.sh
|
|
- ./www:/var/www/html
|
|
- ./php-fpm/www-2.conf:/usr/local/etc/php-fpm.d/www-2.conf |