File: docker-compose.yml

package info (click to toggle)
php-uploadprogress 2.0.2%2B1.1.4-8
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 552 kB
  • sloc: ansic: 952; xml: 624; php: 61; makefile: 1
file content (26 lines) | stat: -rw-r--r-- 525 bytes parent folder | download | duplicates (2)
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
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"