mirror of
https://github.com/php/pecl-php-uploadprogress.git
synced 2026-03-24 07:02:06 +01:00
27 lines
525 B
YAML
27 lines
525 B
YAML
version: "3.7"
|
|
|
|
services:
|
|
|
|
nginx:
|
|
container_name: uploadprogress-web
|
|
image: nginx:latest
|
|
ports:
|
|
- "8080:80"
|
|
volumes:
|
|
- "$PWD/nginx.conf:/etc/nginx/conf.d/default.conf"
|
|
- ".:/var/www/html"
|
|
depends_on:
|
|
- php-fpm
|
|
|
|
php-fpm:
|
|
container_name: uploadprogress-php-fpm
|
|
image: uploadprogress-example-php-fpm
|
|
build:
|
|
context: ./.docker
|
|
args:
|
|
php_version: 8.0
|
|
uploadprogress_version: 2.0.2
|
|
volumes:
|
|
- "./.tmp:/tmp"
|
|
- ".:/var/www/html"
|